org.hecl.files
Class HeclStreamCmds
- java.lang.Object
-
- org.hecl.files.HeclStreamCmds
-
- All Implemented Interfaces:
- ClassCommand
public class HeclStreamCmds extends java.lang.Object implements ClassCommand
TheHeclStreamCmdsclass implements command handlers for DataInputStream and DataOutputStream, which are handled as "class commands".
-
-
Constructor Summary
Constructors Constructor and Description HeclStreamCmds()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static voidload(Interp interp)Thingmethod(Interp interp, ClassCommandInfo context, Thing[] argv)Themethodmethod takes an interpreter, a class information and an array of Things, performs some calculations, and returns aThingwhich may benull.static voidunload(Interp interp)
-
-
-
Method Detail
-
method
public Thing method(Interp interp, ClassCommandInfo context, Thing[] argv) throws HeclException
Description copied from interface:ClassCommandThemethodmethod takes an interpreter, a class information and an array of Things, performs some calculations, and returns aThingwhich may benull. The interpreter calls this method when it detects anObjectThingas first argument of a command on the script level and detects a command handler for the class of the value of theObjectThing.- Specified by:
methodin interfaceClassCommand- Parameters:
interp- anInterpvaluecontext- A reference to theClassInfo>describing further details of th emethod.argv- AThing[]array holding the parameters for the method. The 0th element is the object, the 1st element is the method.- Throws:
HeclException- if an error occurs
-
load
public static void load(Interp interp)
-
unload
public static void unload(Interp interp)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG