CommandLine
private class
system.CommandLine
Description
The CommandLine class provides methods for retrieving command line arguments passed into the Loom executable at runtime.
API overview
Constructor
CommandLine
()
Constructor
CommandLine ()
Functions
getArg ( idx: Number ): String
static native
Gets the argument at the specified index.
Parameters
| idx: Number | The index of the argument. |
Returns
| String | The argument at the specified index, will throw an error if the index is out of range. |
getArgCount (): Number
static native
Gets the number of arguments passed into the Loom executable.
Returns
| Number | The number of arguments |
getFullTypeName
(): String
Inherited from Object
native
Gets the fully qualified type name of the Object. The fully qualified type name includes the package of the type.
Returns
| String | fully qualified type name of the Object. |
getType
(): Type
Inherited from Object
native
Gets the Type that describes the Object.
Returns
| Type | The Type that describes the object. |