Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
G
H
I
J
L
M
N
R
S
T
U
A
addJFile(String, JFile)
- Method in class
Directory
Add a JFile to this Directory.
append(String)
- Method in class
TextFile
Append text to the end of the file.
appendLine(String)
- Method in class
TextFile
Append a new line of text to the end of the file.
C
CLILogin()
- Method in class
LoginInterpreter
Simulates behavior at login: prompt.
createUser(String, Directory, String)
- Method in class
Juno
Create a new User.
D
Directory
- class
Directory
.
Directory of JFiles.
Directory(String, User, Directory)
- Constructor for class
Directory
Construct a Directory.
doIt(StringTokenizer, Shell)
- Method in class
TypeCommand
Display the contents of a TextFile.
doIt(StringTokenizer, Shell)
- Method in class
HelpCommand
Display help for all commands.
doIt(StringTokenizer, Shell)
- Method in class
MkdirCommand
Create a new Directory in the current Directory.
doIt(StringTokenizer, Shell)
- Method in class
NewfileCommand
Create a new TextFile in the current Directory.
doIt(StringTokenizer, Shell)
- Method in class
ShellCommand
Execute the command.
G
getArgString()
- Method in class
ShellCommand
The argument string prototype.
getCommandNames()
- Method in class
ShellCommandTable
Get an array of the command names.
getCommandTable()
- Method in class
Juno
The shell command table for this system.
getConsole()
- Method in class
Shell
The console associated with this Shell.
getContents()
- Method in class
TextFile
The contents of a text file.
getCreateDate()
- Method in class
JFile
The date and time of the file's creation.
getDot()
- Method in class
Shell
The current working directory for this Shell.
getFileNames()
- Method in class
Directory
Get the contents of this Directory as an array of the file names, each of which is a String.
getHelpString()
- Method in class
ShellCommand
Help for this command.
getHome()
- Method in class
User
Get the User's home Directory.
getHostName()
- Method in class
Juno
The name of the host computer on which this system is running.
getModDate()
- Method in class
JFile
The date and time of the file's last modification.
getName()
- Method in class
JFile
The name of the file.
getName()
- Method in class
User
Get the User's login name.
getOS()
- Method in class
Juno
The name of this operating system.
getOwner()
- Method in class
JFile
The file's owner.
getParent()
- Method in class
JFile
The Directory containing this file.
getPathName()
- Method in class
JFile
The full path to this file.
getPrompt()
- Method in class
Shell
The prompt for the CLI.
getRealName()
- Method in class
User
Get the user's real name.
getSize()
- Method in class
Directory
The size of a directory is the number of TextFiles it contains.
getSize()
- Method in class
JFile
The size of the JFile (as defined by the child class)..
getSize()
- Method in class
TextFile
The size of a text file is the number of characters stored.
getSuffix()
- Method in class
Directory
Suffix used for printing Directory names; we define it as the (system dependent) name separator used in path names.
getSuffix()
- Method in class
JFile
Suffix used for printing file names (as defined by the child class).
getSuffix()
- Method in class
TextFile
Suffix used for printing text file names is "".
getSystem()
- Method in class
Shell
The Juno object associated with this Shell.
getUser()
- Method in class
Shell
The User associated with this Shell.
getUserHomes()
- Method in class
Juno
The directory containing all user homes for this system.
getVersion()
- Method in class
Juno
The version number for this system.
H
HelpCommand
- class
HelpCommand
.
The Juno shell command to display help on the shell commands.
I
isRoot()
- Method in class
JFile
A JFile whose parent is null is defined to be the root (of a tree).
J
JFile
- class
JFile
.
A JFile object models a file in a hierarchical file system.
JFile(String, User, Directory)
- Constructor for class
JFile
Construct a new JFile, set owner, parent, creation and modification dates.
Juno
- class
Juno
.
Juno (Juno's Unix NOt) mimics a command line operating system like Unix.
Juno(String, boolean)
- Constructor for class
Juno
Construct a Juno (operating system) object.
L
LoginInterpreter
- class
LoginInterpreter
.
Interpreter for Juno login commands.
LoginInterpreter(Juno, Terminal)
- Constructor for class
LoginInterpreter
Construct a new LoginInterpreter for interpreting login commands.
lookup(String)
- Method in class
ShellCommandTable
Get a ShellCommand, given the command name key.
lookupUser(String)
- Method in class
Juno
Look up a user by user name.
M
main(String[])
- Static method in class
Juno
The Juno system may be given the following command line arguments.
MkdirCommand
- class
MkdirCommand
.
The Juno shell command to create a new directory.
MkdirCommand()
- Constructor for class
MkdirCommand
Construct a MkdirCommand object.
N
NewfileCommand
- class
NewfileCommand
.
The Juno shell command to create a text file.
NewfileCommand()
- Constructor for class
NewfileCommand
Construct a NewfileCommand object.
R
retrieveJFile(String)
- Method in class
Directory
Get a JFile in this Directory, by name .
S
separator
- Static variable in class
JFile
The separator used in pathnames.
setConsole(Terminal)
- Method in class
LoginInterpreter
Set the console for this interpreter.
setContents(String)
- Method in class
TextFile
Replace the contents of the file.
setDot(Directory)
- Method in class
Shell
Set the current working directory for this Shell.
setModDate()
- Method in class
JFile
Set the modification date to "now".
setOwner(User)
- Method in class
JFile
Set the owner for this file.
Shell
- class
Shell
.
Models a shell (command interpreter) The Shell knows the (Juno) system it's working in, the User who started it, and the console to which to send output.
Shell(Juno, User, Terminal)
- Constructor for class
Shell
Construct a login shell for the given user and console.
ShellCommand
- class
ShellCommand
.
Model those features common to all ShellCommands.
ShellCommand(String)
- Constructor for class
ShellCommand
A constructor for commands having no arguments.
ShellCommand(String, String)
- Constructor for class
ShellCommand
A constructor, always called (as super()) by the subclass.
ShellCommandTable
- class
ShellCommandTable
.
A ShellCommandTable object maintains a dispatch table of ShellCommand objects keyed by the command names used to invoke them.
ShellCommandTable()
- Constructor for class
ShellCommandTable
Construct and fill a shell command table.
T
TextFile
- class
TextFile
.
A TextFile is a JFile that holds text.
TextFile(String, User, Directory, String)
- Constructor for class
TextFile
Construct a TextFile with initial contents.
toString()
- Method in class
JFile
How a JFile represents itself as a String.
toString()
- Method in class
User
Convert the User to a String.
TypeCommand
- class
TypeCommand
.
The Juno shell command to display the contents of a text file.
U
User
- class
User
.
Model a Juno user.
User(String, Directory, String)
- Constructor for class
User
Construct a new User.
A
C
D
G
H
I
J
L
M
N
R
S
T
U
Package
Class
Tree
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes