A B C D E F G H I K L M N O P R S T U V W

A

accept(File, String) - Method in class shell.MyFilter
 
active - Variable in class shell.Switch
 
activeSwitches - Variable in class shell.app.set
 
activeSwitches - Variable in class shell.app.mkdir
 
activeSwitches - Variable in class shell.app.del
 
addActiveSwitch(Object) - Method in interface shell.Executable
Functionality will need to be provided in child classes.
addActiveSwitch(Object) - Method in class shell.Command
Functionality will need to be provided in child classes.
addActiveSwitch(Object) - Method in class shell.app.ls
 
addCommand(Object) - Method in class shell.History
 
addSwitch(String, Switch) - Method in interface shell.Executable
 
addSwitch(String, Switch) - Method in class shell.Command
 
addThreadListener(ThreadListener) - Method in interface shell.Executable
 
addThreadListener(ThreadListener) - Method in class shell.Command
 
alreadyRunning - Static variable in class shell.ChildProcess
 
append(String) - Method in class shell.TextTerminalDisplay
 
append(String) - Method in interface shell.TerminalDisplay
 
autoComplete(String) - Method in class shell.TextTerminal
 

B

backspace() - Method in class shell.TextTerminal
 
bis - Variable in class shell.Pipe
Buffer for the user defined InputStream.
buffer - Variable in class shell.Pipe
 

C

cd - class shell.app.cd.
 
cd() - Constructor for class shell.app.cd
 
childProcess - Variable in class shell.ChildProcess
 
ChildProcess - class shell.ChildProcess.
 
ChildProcess() - Constructor for class shell.ChildProcess
 
cmd - Variable in class shell.ChildProcess
 
Command - class shell.Command.
Runtime command is a base class that all apps must extend to work inside Freelance.
Command() - Constructor for class shell.Command
 
command(String) - Method in class shell.RuntimeProcessController
 
COMPLETE - Static variable in class shell.ThreadEvent
 
componentResized(ComponentEvent) - Method in class shell.Resized
 
configure(String) - Method in class shell.ChildProcess
 
containsSwitch(String) - Method in interface shell.Executable
 
containsSwitch(String) - Method in class shell.Command
 
copy(File, File) - Method in class shell.app.cp
 
copyFile(File, File) - Method in class shell.app.cp
 
cp - class shell.app.cp.
 
cp() - Constructor for class shell.app.cp
 

D

del - class shell.app.del.
 
del() - Constructor for class shell.app.del
 
doCommand(char) - Method in interface shell.InteractiveShellProcess
 
doCommand(int) - Method in interface shell.InteractiveShellProcess
 
doCommand(String) - Method in class shell.TextTerminal
 
doCommand(String) - Method in interface shell.Terminal
 
doCommand(String) - Method in class shell.Environment
Runs a command represented by the String passed into the method.
doRun() - Method in class shell.PipeCommand
 
doRun() - Method in class shell.Command
 
doRun() - Method in class shell.app.type
 
doRun() - Method in class shell.app.echo
 
doRun() - Method in class shell.app.sift
 
doRun() - Method in class shell.app.set
 
doRun() - Method in class shell.app.mkdir
 
doRun() - Method in class shell.app.ps
 
doRun() - Method in class shell.app.kill
 
doRun() - Method in class shell.app.del
 
doRun() - Method in class shell.app.pwd
 
doRun() - Method in class shell.app.cp
 
doRun() - Method in class shell.app.cd
 
doRun() - Method in class shell.app.ls
 

E

echo - class shell.app.echo.
 
echo() - Constructor for class shell.app.echo
 
echoOff() - Method in class shell.TextTerminal
 
echoOn() - Method in class shell.TextTerminal
 
Environment - class shell.Environment.
A thread that will create the commandline prompt for the user For example:
equals(Executable) - Method in interface shell.Executable
 
equals(Executable) - Method in class shell.Command
 
equals(Object) - Method in class shell.Key
 
equals(String) - Method in interface shell.Executable
 
equals(String) - Method in class shell.Command
 
ERROR - Static variable in class shell.ThreadEvent
 
Executable - interface shell.Executable.
Runtime command is a base class that all apps must extend to work inside Freelance.
ExecutableFactory - class shell.ExecutableFactory.
Factory object for Excutable object creation.
ExecutableFactory() - Constructor for class shell.ExecutableFactory
 
executeCommand(Vector, String) - Method in class shell.Environment
-------- Deprecated ------------ Use doCommand() instead.

F

Factory - interface shell.Factory.
Interface that will be the base representation for all factory objects.
finalise() - Method in class shell.TextTerminal
 
fireThreadEvent(ThreadEvent) - Method in class shell.ThreadEventHandler
 
fireThreadEvent(ThreadEvent) - Method in class shell.ProcessController
 
fireThreadEvent(ThreadEvent) - Method in interface shell.ThreadListener
 
flush() - Method in class shell.PipedOutput
 

G

getActive() - Method in interface shell.Executable
Provides external access to the active boolean.
getActive() - Method in class shell.Command
Provides external access to the active boolean.
getActive() - Method in class shell.app.ps
 
getActive() - Method in class shell.app.kill
 
getAllEnvironmentVariables() - Method in class shell.Environment
Returns a handle to the Environment object's envVariable Hashtable which contains all the current registered env variables.
getAlreadyRunning() - Method in class shell.ChildProcess
 
getAutoComplete(String) - Method in class shell.Environment
This method takes in a string, then compares all files in the current directory to the string, putting the matching names into an ArrayList.
getAutoComplete(String, String) - Method in class shell.Environment
This method takes in two strings, one representing the location of the directory to list the contents of, the other is the text to match.
getChar() - Method in class shell.TextTerminal
 
getCurrentLocation() - Method in class shell.Environment
Static method that allows objects within the shell to obtain the current working directory.
getEnvironment() - Static method in class shell.Environment
This method returns the current single instance of the Environment object.
getEnvironmentVariable(String) - Method in class shell.Environment
Takes in a string and checks if it is a valid environment variable.
getExecutable() - Method in class shell.ThreadEvent
 
getFontWidth() - Method in class shell.TextTerminal
 
getFontWidth() - Method in interface shell.Terminal
 
getId() - Method in interface shell.Executable
 
getId() - Method in class shell.Command
 
getInput() - Method in interface shell.InteractiveShellProcess
 
getLock() - Method in class shell.Command
 
getMessageCode() - Method in class shell.ThreadEvent
 
getName() - Method in interface shell.Executable
 
getName() - Method in class shell.Command
 
getOutput() - Method in interface shell.InteractiveShellProcess
 
getOutStream() - Method in interface shell.Executable
 
getOutStream() - Method in class shell.Command
 
getReader() - Method in interface shell.Executable
 
getReader() - Method in class shell.Command
 
getRequiresParameter() - Method in class shell.Switch
 
getRuntimeCommand() - Method in class shell.TerminalThread
 
getStandardOut() - Method in class shell.Environment
This method returns a handle to the current standard output stream.
getString() - Method in class shell.Key
 
getSwitch(String) - Method in interface shell.Executable
 
getSwitch(String) - Method in class shell.Command
 
getTerminal() - Method in class shell.Environment
This method returns a handle to the current user Terminal object that was passed in as a parameter to the constructor.
getValue() - Method in class shell.Switch
 
getViewableWidth() - Method in class shell.TextTerminal
 
getViewableWidth() - Method in interface shell.Terminal
 

H

hashCode() - Method in class shell.Key
 
History - class shell.History.
 
History() - Constructor for class shell.History
 

I

in - Variable in class shell.Command
 
initialise() - Method in class shell.TextTerminal
 
InteractiveShellProcess - interface shell.InteractiveShellProcess.
 
isGraphical() - Method in interface shell.InteractiveShellProcess
 
isLocked() - Method in class shell.Lock
 
isPipeable() - Method in class shell.PipeCommand
RuntimeCommands will not be able to be piped.
isPipeable() - Method in interface shell.Executable
Not all apps will be able to accept data from a piped inputstream.
isPipeable() - Method in class shell.Command
Not all apps will be able to accept data from a piped inputstream.

K

Key - class shell.Key.
 
Key(String) - Constructor for class shell.Key
 
kill - class shell.app.kill.
 
kill() - Constructor for class shell.app.kill
 

L

Lock - class shell.Lock.
 
lock() - Method in class shell.Lock
 
lock() - Method in interface shell.Executable
 
lock() - Method in class shell.Command
 
Lock() - Constructor for class shell.Lock
 
ls - class shell.app.ls.
 
ls() - Constructor for class shell.app.ls
 

M

main(String[]) - Static method in class shell.TextTerminal
 
mkdir - class shell.app.mkdir.
 
mkdir() - Constructor for class shell.app.mkdir
 
MyFilter - class shell.MyFilter.
 
MyFilter(String) - Constructor for class shell.MyFilter
 

N

NativeExecutable - interface shell.NativeExecutable.
Runtime command is a base class that all apps must extend to work inside Freelance.
newExecutable(Vector) - Static method in class shell.ExecutableFactory
 
next() - Method in class shell.History
 

O

os - Variable in class shell.Pipe
User defined OutputStream which can be set in the constructor, or using setPipeIn(InputStream inStream).
osIn - Variable in class shell.ChildProcess
 
osInE - Variable in class shell.ChildProcess
 
osOut - Static variable in class shell.ChildProcess
 
out - Variable in class shell.Command
 
out - Variable in class shell.ChildProcess
 

P

parseForEnvVariables(String) - Method in class shell.Environment
 
Pipe - class shell.Pipe.
This is a base class that all pipes written for freelance have to extend.
Pipe(ShellCommand, ShellCommand) - Constructor for class shell.Pipe
Creates the pipe, setting the is variable to the InputStream parameter, which is then piped into variable bis.
Pipeable - interface shell.Pipeable.
 
PipeCommand - class shell.PipeCommand.
Runtime command is a base class that all apps must extend to work inside Freelance.
PipeCommand() - Constructor for class shell.PipeCommand
 
PipedOutput - class shell.PipedOutput.
 
PipedOutput(OutputStream) - Constructor for class shell.PipedOutput
 
PipedOutput(TerminalDisplay, OutputStream) - Constructor for class shell.PipedOutput
 
pipeIn - Variable in class shell.Pipe
 
previous() - Method in class shell.History
 
processCommand(String) - Method in class shell.Environment
This method takes in a command as a parameter and breaks it down into a Vectora.
ProcessController - class shell.ProcessController.
Controlling class for all application processes started within Freelance.
ProcessController() - Constructor for class shell.ProcessController
 
processSwitches(Vector) - Method in interface shell.Executable
This method takes in a Vector of a broken up command line.
processSwitches(Vector) - Method in class shell.Command
This method takes in a Vector of a broken up command line.
prompt - Variable in class shell.TextTerminal
 
ps - class shell.app.ps.
 
ps() - Constructor for class shell.app.ps
 
pwd - class shell.app.pwd.
 
pwd() - Constructor for class shell.app.pwd
 

R

rcIn - Variable in class shell.Pipe
The RuntimeCommand which the output is to be piped from.
rcOut - Variable in class shell.Pipe
The RuntimeCommand which the input is to be piped into.
readInput() - Method in interface shell.InteractiveShellProcess
 
recursiveCopy(File, File) - Method in class shell.app.cp
 
refresh() - Method in class shell.TextTerminal
 
removeThreadListener(ThreadListener) - Method in interface shell.Executable
 
removeThreadListener(ThreadListener) - Method in class shell.Command
 
requiresParameter - Variable in class shell.Switch
 
Resized - class shell.Resized.
 
Resized() - Constructor for class shell.Resized
 
run() - Method in class shell.Pipe
 
run() - Method in interface shell.Executable
 
run() - Method in class shell.Command
 
run() - Method in class shell.ChildProcess
 
RUNTIME_COMMAND_PACKAGE - Static variable in class shell.Environment
 
RuntimeProcessController - class shell.RuntimeProcessController.
 
RuntimeProcessController() - Constructor for class shell.RuntimeProcessController
 

S

set - class shell.app.set.
 
set() - Constructor for class shell.app.set
 
setActive(boolean) - Method in class shell.TerminalThread
 
setActive(boolean) - Method in interface shell.Executable
Provides external access to the active boolean.
setActive(boolean) - Method in class shell.Command
Provides external access to the active boolean.
setActive(boolean) - Method in class shell.app.ps
 
setActive(boolean) - Method in class shell.app.kill
 
setArgs(Vector) - Method in interface shell.Executable
 
setArgs(Vector) - Method in class shell.app.type
 
setArgs(Vector) - Method in class shell.app.echo
 
setArgs(Vector) - Method in class shell.app.set
 
setArgs(Vector) - Method in class shell.app.mkdir
 
setArgs(Vector) - Method in class shell.app.ps
 
setArgs(Vector) - Method in class shell.app.kill
 
setArgs(Vector) - Method in class shell.app.del
 
setArgs(Vector) - Method in class shell.app.pwd
 
setArgs(Vector) - Method in class shell.app.cd
 
setArgs(Vector) - Method in class shell.app.ls
 
setArgs(Vector, int) - Method in class shell.Command
 
setArgs(Vector, int) - Method in class shell.app.sift
 
setArgs(Vector, int, PrintStream) - Method in class shell.Command
 
setArgs(Vector, int, PrintStream) - Method in class shell.app.sift
 
setArgs(Vector, PrintStream) - Method in interface shell.Executable
 
setArgs(Vector, PrintStream) - Method in class shell.app.type
 
setArgs(Vector, PrintStream) - Method in class shell.app.echo
 
setArgs(Vector, PrintStream) - Method in class shell.app.set
 
setArgs(Vector, PrintStream) - Method in class shell.app.mkdir
 
setArgs(Vector, PrintStream) - Method in class shell.app.ps
 
setArgs(Vector, PrintStream) - Method in class shell.app.kill
 
setArgs(Vector, PrintStream) - Method in class shell.app.del
 
setArgs(Vector, PrintStream) - Method in class shell.app.pwd
 
setArgs(Vector, PrintStream) - Method in class shell.app.cd
 
setArgs(Vector, PrintStream) - Method in class shell.app.ls
 
setArgs(Vector, ProcessController) - Method in class shell.app.cp
 
setArgs(Vector, ProcessController, PrintStream) - Method in class shell.app.cp
 
setCurrentLocation(File) - Method in class shell.Environment
Static method that allows objects within the shell to set the current working directory.
setEnvironmentVariable(String, String) - Method in class shell.Environment
Returns a handle to the Environment object's envVariable Hashtable which contains all the current registered env variables.
setHashCode(int) - Method in class shell.Key
 
setId(int) - Method in interface shell.Executable
 
setId(int) - Method in class shell.Command
 
setIncomming(boolean) - Method in class shell.PipeCommand
 
setIncomming(boolean) - Method in interface shell.Executable
 
setIncomming(boolean) - Method in class shell.Command
 
setInput(Reader) - Method in interface shell.InteractiveShellProcess
 
setInputStream(InputStream) - Method in interface shell.Executable
 
setInputStream(InputStream) - Method in class shell.Command
 
setLock(Lock) - Method in interface shell.Executable
 
setLock(Lock) - Method in class shell.Command
 
setMaxLines(int) - Method in class shell.TextTerminalDisplay
 
setOutput(Writer) - Method in interface shell.InteractiveShellProcess
 
setOutputStream(OutputStream) - Method in interface shell.Executable
 
setOutputStream(OutputStream) - Method in class shell.Command
 
setOutStream(PrintStream) - Method in interface shell.Executable
 
setOutStream(PrintStream) - Method in class shell.Command
 
setPipe(Pipe) - Method in class shell.TerminalThread
 
setRequiresParameter(boolean) - Method in class shell.Switch
 
setRuntimeCommand(Runnable) - Method in class shell.TerminalThread
 
setStandardOut(PrintStream) - Method in class shell.Environment
Sets the standard output stream for the environment to the method's only argument.
setString(String) - Method in class shell.Key
 
setTerminal(Terminal) - Method in class shell.Environment
Sets the standard output stream for the environment to the method's only argument.
setValue(String) - Method in class shell.Switch
 
shell - package shell
 
shell.app - package shell.app
 
ShellCommand - class shell.ShellCommand.
Runtime command is a base class that all apps must extend to work inside Freelance.
ShellCommand() - Constructor for class shell.ShellCommand
 
ShellExecutable - interface shell.ShellExecutable.
Runtime command is a base class that all apps must extend to work inside Freelance.
sift - class shell.app.sift.
 
sift() - Constructor for class shell.app.sift
 
startRuntime(String) - Method in class shell.Environment
-------- Deprecated ------------ Use doCommand() instead.
startThread(Vector, String) - Method in class shell.ProcessController
starts a new thread
stillIncomming() - Method in class shell.PipeCommand
 
stillIncomming() - Method in interface shell.Executable
 
stillIncomming() - Method in class shell.Command
 
stopThread(int) - Method in class shell.app.kill
 
stopThread(String) - Method in class shell.app.kill
 
Switch - class shell.Switch.
Switch.java James Horsley 2/6/2001 This program encapsulates a command line switch.
Switch(boolean) - Constructor for class shell.Switch
 
Switch(boolean, boolean, String) - Constructor for class shell.Switch
 
Switch(boolean, String) - Constructor for class shell.Switch
 

T

Terminal - interface shell.Terminal.
Graphical User Interface front end for the terminal.
TerminalDisplay - interface shell.TerminalDisplay.
 
TerminalThread - class shell.TerminalThread.
 
TerminalThread(Executable, String) - Constructor for class shell.TerminalThread
 
TerminalThread(Runnable, String) - Constructor for class shell.TerminalThread
 
TerminalThread(ThreadGroup, Executable, String) - Constructor for class shell.TerminalThread
 
TerminalThread(ThreadGroup, Pipe, String) - Constructor for class shell.TerminalThread
 
terminateCommand(String) - Method in class shell.Environment
 
TextTerminal - class shell.TextTerminal.
Graphical User Interface front end for the terminal.
TextTerminal() - Constructor for class shell.TextTerminal
 
TextTerminalDisplay - class shell.TextTerminalDisplay.
 
TextTerminalDisplay() - Constructor for class shell.TextTerminalDisplay
 
ThreadEvent - class shell.ThreadEvent.
 
ThreadEvent(Executable, int) - Constructor for class shell.ThreadEvent
 
ThreadEvent(Executable, int, String) - Constructor for class shell.ThreadEvent
 
ThreadEventHandler - class shell.ThreadEventHandler.
 
ThreadEventHandler() - Constructor for class shell.ThreadEventHandler
 
ThreadFactory - class shell.ThreadFactory.
A ShellCommand factory
ThreadFactory() - Constructor for class shell.ThreadFactory
 
ThreadListener - interface shell.ThreadListener.
 
toString() - Method in class shell.Key
 
toString() - Method in class shell.Environment
 
toString() - Method in class shell.Switch
 
type - class shell.app.type.
 
type() - Constructor for class shell.app.type
 

U

unlock() - Method in class shell.Lock
 
unlock() - Method in interface shell.Executable
 
unlock() - Method in class shell.Command
 

V

value - Variable in class shell.Switch
 

W

write(byte[], int, int) - Method in class shell.PipedOutput
 
write(int) - Method in class shell.PipedOutput
 

A B C D E F G H I K L M N O P R S T U V W