org.hecl.files
Class FileCmds
java.lang.Object
org.hecl.Operator
org.hecl.files.FileCmds
- All Implemented Interfaces:
- Command
public class FileCmds
- extends Operator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CD
public static final int CD
- See Also:
- Constant Field Values
CURRENTFILE
public static final int CURRENTFILE
- See Also:
- Constant Field Values
READALL
public static final int READALL
- See Also:
- Constant Field Values
WRITE
public static final int WRITE
- See Also:
- Constant Field Values
SOURCE
public static final int SOURCE
- See Also:
- Constant Field Values
FILESIZE
public static final int FILESIZE
- See Also:
- Constant Field Values
FILETOLIST
public static final int FILETOLIST
- See Also:
- Constant Field Values
LISTTOFILE
public static final int LISTTOFILE
- See Also:
- Constant Field Values
operate
public Thing operate(int cmd,
Interp interp,
Thing[] argv)
throws HeclException
- Description copied from class:
Operator
- The
operate
method dispatches to the actual code.
- Specified by:
operate
in class Operator
- Parameters:
cmd
- an int
valueinterp
- an Interp
valueargv
- a Thing[]
value
- Returns:
- a
Thing
value, or null when no value has been
- Throws:
HeclException
- if an error occurs
load
public static void load(Interp ip)
throws HeclException
- Throws:
HeclException
unload
public static void unload(Interp ip)
throws HeclException
- Throws:
HeclException