org.hecl.files
Class FileCmds
- java.lang.Object
-
- org.hecl.Operator
-
- org.hecl.files.FileCmds
-
-
Field Summary
Fields Modifier and Type Field and Description static intABSPATHstatic intCANONPATHstatic intCDstatic intCURRENTFILEstatic intDELETEstatic intDUstatic intEXISTSstatic intFILEJOINstatic intFILESPLITstatic intGETCWDstatic intHIDDENstatic intISABSOLUTEstatic intISDIRECTORYstatic intISOPENstatic intLISTstatic intLISTROOTSstatic intMKDIRstatic intMTIMEstatic intNAMEstatic intOPENstatic intPATHstatic intREADABLEstatic intRENAMEstatic intSIZEstatic intSOCKETstatic intSOURCEstatic intTRUNCATEstatic intWRITABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidload(Interp ip)static voidloadRestricted(Interp ip)by avThingoperate(int cmd, Interp interp, Thing[] argv)Theoperatemethod dispatches to the actual code.static voidunload(Interp ip)
-
-
-
Field Detail
-
OPEN
public static final int OPEN
- See Also:
- Constant Field Values
-
SOCKET
public static final int SOCKET
- See Also:
- Constant Field Values
-
READABLE
public static final int READABLE
- See Also:
- Constant Field Values
-
WRITABLE
public static final int WRITABLE
- See Also:
- Constant Field Values
-
HIDDEN
public static final int HIDDEN
- See Also:
- Constant Field Values
-
EXISTS
public static final int EXISTS
- See Also:
- Constant Field Values
-
DELETE
public static final int DELETE
- See Also:
- Constant Field Values
-
SIZE
public static final int SIZE
- See Also:
- Constant Field Values
-
NAME
public static final int NAME
- See Also:
- Constant Field Values
-
PATH
public static final int PATH
- See Also:
- Constant Field Values
-
ABSPATH
public static final int ABSPATH
- See Also:
- Constant Field Values
-
CANONPATH
public static final int CANONPATH
- See Also:
- Constant Field Values
-
ISABSOLUTE
public static final int ISABSOLUTE
- See Also:
- Constant Field Values
-
MTIME
public static final int MTIME
- See Also:
- Constant Field Values
-
ISDIRECTORY
public static final int ISDIRECTORY
- See Also:
- Constant Field Values
-
ISOPEN
public static final int ISOPEN
- See Also:
- Constant Field Values
-
LIST
public static final int LIST
- See Also:
- Constant Field Values
-
MKDIR
public static final int MKDIR
- See Also:
- Constant Field Values
-
RENAME
public static final int RENAME
- See Also:
- Constant Field Values
-
TRUNCATE
public static final int TRUNCATE
- See Also:
- Constant Field Values
-
LISTROOTS
public static final int LISTROOTS
- See Also:
- Constant Field Values
-
DU
public static final int DU
- See Also:
- Constant Field Values
-
FILESPLIT
public static final int FILESPLIT
- See Also:
- Constant Field Values
-
FILEJOIN
public static final int FILEJOIN
- See Also:
- Constant Field Values
-
SOURCE
public static final int SOURCE
- See Also:
- Constant Field Values
-
CURRENTFILE
public static final int CURRENTFILE
- See Also:
- Constant Field Values
-
CD
public static final int CD
- See Also:
- Constant Field Values
-
GETCWD
public static final int GETCWD
- See Also:
- Constant Field Values
-
-
Method Detail
-
operate
public Thing operate(int cmd, Interp interp, Thing[] argv) throws HeclException
Description copied from class:OperatorTheoperatemethod dispatches to the actual code.- Specified by:
operatein classOperator- Parameters:
cmd- anintvalueinterp- anInterpvalueargv- aThing[]value- Returns:
- a
Thingvalue, or null when no value has been - Throws:
HeclException- if an error occurs
-
load
public static void load(Interp ip) throws HeclException
- Throws:
HeclException
-
loadRestricted
public static void loadRestricted(Interp ip) throws HeclException
by av- Parameters:
ip-- Throws:
HeclException
-
unload
public static void unload(Interp ip) throws HeclException
- Throws:
HeclException
-
-
DataMelt 3.0 © DataMelt by jWork.ORG