FileShell
A shell tool that allows to list and manipulate files.
Methods
static void
main
(String... args)
Options are case sensitive.
static void
main
(String... args) throws SQLException
Options are case sensitive. Supported options are:
[-help] or [-?]
Print the list of options
[-verbose]
Print stack traces
[-run ...]
Execute the given commands and exit
Multiple commands may be executed if separated by ;
Parameters:
args - the command line arguments
void
runTool
(String... args)
Run the shell tool with the given command line settings.
void
runTool
(String... args) throws SQLException
Run the shell tool with the given command line settings.
Parameters:
args - the command line settings
void
setErr
(PrintStream err)
Sets the standard error stream.
void
setErr
(PrintStream err)
Sets the standard error stream.
Parameters:
err - the new standard error stream
void
setIn
(InputStream in)
Redirects the standard input.
void
setIn
(InputStream in)
Redirects the standard input. By default, System.in is used.
Parameters:
in - the input stream to use
void
setInReader
(BufferedReader reader)
Redirects the standard input.
void
setInReader
(BufferedReader reader)
Redirects the standard input. By default, System.in is used.
Parameters:
reader - the input stream reader to use