$ B C D E F G I J L M N O P R S T U W X 

$

$() - Method in class de.unkrig.jsh.command.Cd
Changes the current working directory to the user's home directory.
$(File) - Method in class de.unkrig.jsh.command.Cd
Sets a new current working directory.
$(Object...) - Method in class de.unkrig.jsh.command.Echo
Prints the args, separated with spaces.
$(Collection<?>) - Method in class de.unkrig.jsh.command.Echo
Prints the args, separated with spaces.
$() - Method in class de.unkrig.jsh.command.Ls
Lists the members of the current working directory.
$(File...) - Method in class de.unkrig.jsh.command.Ls
Lists the files which are not directories, then for all files which are directories: One empty line The path of the directory The names of the directory members (one per line)
$(Collection<File>) - Method in class de.unkrig.jsh.command.Ls
Prints information about the files.
$() - Static method in class de.unkrig.jsh.command.Pwd
Prints the current working directory to System.out.

B

Brief - Class in de.unkrig.jsh
Provides basic functionality for jsh (globbing, etc.), and is designed for brevity, i.e. short method signatures.

C

c() - Method in class de.unkrig.jsh.command.Ls
with -lt: sort by, and show, ctime (time of last modification of file status information); with -l: show ctime and sort by name; otherwise: sort by ctime, newest first.
Cd - Class in de.unkrig.jsh.command
Changes the current working directory.
Cd() - Constructor for class de.unkrig.jsh.command.Cd
 
cd - Static variable in class de.unkrig.jsh.JshBase
 
cd() - Static method in class de.unkrig.jsh.JshBase
 
cd(File) - Static method in class de.unkrig.jsh.JshBase
 
cd(String) - Static method in class de.unkrig.jsh.JshBase
 
clone2() - Method in class de.unkrig.jsh.util.Cloneable2
Identical with Object.clone(), but (A) does not declare a CloneNotSupportedException and (B) returns an object of type T (not Object).
Cloneable2<T extends Cloneable2<?>> - Class in de.unkrig.jsh.util
The painfully missing class that implements Cloneable and provides a Object.clone() method with the proper return type (T, not Object).
Cloneable2() - Constructor for class de.unkrig.jsh.util.Cloneable2
 
Command - Class in de.unkrig.jsh
A super-small framework for building UNIX pipes of commands.
Command() - Constructor for class de.unkrig.jsh.Command
 
containsWildcards(String) - Static method in class de.unkrig.jsh.Brief
If false, then Brief.wildmatch(String, String) will return true iff pattern.equals(text).

D

d() - Method in class de.unkrig.jsh.command.Ls
List directories themselves, not their contents.
dateFormat(DateFormat) - Method in class de.unkrig.jsh.command.Ls
With Ls.l(), show times using the dateFormat.
dateFormat() - Static method in class de.unkrig.jsh.JshBase
Shorthand for DateFormat.getDateInstance(), which renders Date objects like "Jul 6, 2016" (english locale) or "06.07.2016" (german locale).
dateFormat(int) - Static method in class de.unkrig.jsh.JshBase
dateTimeFormat() - Static method in class de.unkrig.jsh.JshBase
Shorthand for DateFormat.getDateTimeInstance(), which renders Date objects like "Jul 6, 2016 6:23:17 PM" (english locale) or "06.07.2016 18:23:17" (german locale).
dateTimeFormat(int, int) - Static method in class de.unkrig.jsh.JshBase
Shorthand for DateFormat#getDateTimeInstance(int).
de.unkrig.jsh - package de.unkrig.jsh
Implements the "jsh" tool, the "Java shell".
de.unkrig.jsh.command - package de.unkrig.jsh.command
Implements the various "commands" of jsh, e.g.
de.unkrig.jsh.util - package de.unkrig.jsh.util
Utility functionality that should eventually move to "de.unkrig.commons".

E

Echo - Class in de.unkrig.jsh.command
Prints its arguments.
Echo() - Constructor for class de.unkrig.jsh.command.Echo
 
echo - Static variable in class de.unkrig.jsh.JshBase
 
echo(Object...) - Static method in class de.unkrig.jsh.JshBase
 
err(Object) - Static method in class de.unkrig.jsh.JshBase
 
exit() - Static method in class de.unkrig.jsh.JshBase
 
exit(int) - Static method in class de.unkrig.jsh.JshBase
 

F

file(String) - Static method in class de.unkrig.jsh.JshBase
Shorthand for "new File(pathname)".
from(File) - Static method in class de.unkrig.jsh.Command
Creates and returns a Command object which reads from the inputFile
from(File) - Static method in class de.unkrig.jsh.JshBase
Shorthand for Command.from(File).
FULL_ISO_DATE_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ")".
FULL_ISO_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("HH:mm:ss.SSSZ")".

G

getcwd() - Static method in class de.unkrig.jsh.JshBase
 
glob(File, String...) - Static method in class de.unkrig.jsh.Brief
A null parent is equivalent with new File("."), except that the elements of the result have a null parent.
glob(String...) - Static method in class de.unkrig.jsh.JshBase
 

I

InteractiveShell - Class in de.unkrig.jsh
In interactive shell program, similar to the UNIX "sh", "csh", "bash" asf. programs, which uses strictly JAVA syntax for executing commands.
ISO_DATE_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("yyyy-MM-dd")".
ISO_DATE_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss")".
ISO_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("HH:mm:ss")".

J

JshBase - Class in de.unkrig.jsh
The base class for the classes generated from the entered commands; has a set of "command fields" (like ls, "shorthand commands" (like exit()) and "utility methods" (like JshBase.glob(String...).
JshBase() - Constructor for class de.unkrig.jsh.JshBase
 

L

l() - Method in class de.unkrig.jsh.command.Ls
Use a long listing format.
list() - Static method in class de.unkrig.jsh.JshBase
 
LONG_ISO_DATE_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSS")".
LONG_ISO_TIME_FORMAT - Static variable in class de.unkrig.jsh.JshBase
Alias for "new SimpleDateFormat("HH:mm:ss.SSS")".
Ls - Class in de.unkrig.jsh.command
Prints the name of files, or the names of the members of directories.
Ls() - Constructor for class de.unkrig.jsh.command.Ls
 
ls - Static variable in class de.unkrig.jsh.JshBase
 
ls(File...) - Static method in class de.unkrig.jsh.JshBase
 

M

Main - Class in de.unkrig.jsh
A test program that allows you to play around with the ScriptEvaluator class.
main(String[]) - Static method in class de.unkrig.jsh.Main
 
map() - Static method in class de.unkrig.jsh.JshBase
 

N

n() - Method in class de.unkrig.jsh.command.Echo
Implements the "-n" option of the command.

O

out(Object) - Static method in class de.unkrig.jsh.JshBase
 

P

pipe(String...) - Static method in class de.unkrig.jsh.Command
Creates and returns a Command object which will execute the given command and catch its output.
pipe(String...) - Static method in class de.unkrig.jsh.JshBase
print(Object, PrintWriter) - Static method in class de.unkrig.jsh.Brief
Implements the "jsh standard way" of printing objects.
print(Object, PrintStream) - Static method in class de.unkrig.jsh.Brief
Implements the "jsh standard way" of printing objects.
print(Object, Consumer<Object>) - Static method in class de.unkrig.jsh.Brief
Maps the subject to zero, one or more subjects, and lets the destination consume these.
print() - Method in class de.unkrig.jsh.Command
Prints the output to System.out.
Pwd - Class in de.unkrig.jsh.command
Prints the current working directory to System.out.
Pwd() - Constructor for class de.unkrig.jsh.command.Pwd
 
pwd - Static variable in class de.unkrig.jsh.JshBase
 
pwd() - Static method in class de.unkrig.jsh.JshBase
 

R

run(String...) - Static method in class de.unkrig.jsh.Command
Executes the command, without redirecting its input, output and error.
run(ProcessBuilder.Redirect, String...) - Static method in class de.unkrig.jsh.Command
Executes the command, without redirecting its input or output.
run(String[], Class<?>[], String) - Static method in class de.unkrig.jsh.InteractiveShell
Executes the ".jshrc" file, then reads statements from the console and executes them.
run(String...) - Static method in class de.unkrig.jsh.JshBase
 

S

S() - Method in class de.unkrig.jsh.command.Ls
Sort by file size.
set() - Static method in class de.unkrig.jsh.JshBase
 
sort(String) - Method in class de.unkrig.jsh.command.Ls
Sort by word instead of name: "none" (-U), "size" (-S), "time" (-t), "version" (-v), "extension" (-X).
start() - Method in class de.unkrig.jsh.Command
 
stream(OutputStream) - Method in class de.unkrig.jsh.command.Echo
Redirects the output to a different OutputStream (initially, STDOUT is the destination stream).

T

t() - Method in class de.unkrig.jsh.command.Ls
Sort by modification time, newest first.
through(String...) - Method in class de.unkrig.jsh.Command
Creates and returns a Command object which will execute this Command, catch its output, feed it through the given command and catch its output.
timeFormat() - Static method in class de.unkrig.jsh.JshBase
Shorthand for DateFormat.getTimeInstance(), which renders Date objects like "6:23:17 PM" (english locale) or "18:23:17" (german locale).
timeFormat(int) - Static method in class de.unkrig.jsh.JshBase
to(String...) - Method in class de.unkrig.jsh.Command
Executes this Command, catches its output and feeds it into the command.
to(ProcessBuilder.Redirect, String...) - Method in class de.unkrig.jsh.Command
Executes this Command, catches its output and feeds it into the command.
to(File) - Method in class de.unkrig.jsh.Command
Executes this Command, catches its output and stores it in the outputFile.

U

u() - Method in class de.unkrig.jsh.command.Ls
With Ls.l().
U() - Method in class de.unkrig.jsh.command.Ls
Do not sort; list entries in directory order,

W

wildmatch(String, String) - Static method in class de.unkrig.jsh.Brief
Implements "wildcard matching". "?"

X

X() - Method in class de.unkrig.jsh.command.Ls
Sort alphabetically by entry extension.
$ B C D E F G I J L M N O P R S T U W X 

Copyright © 2016. All rights reserved.