public class CommandLine
extends java.lang.Object
main method that provides command-line JAR access to various X3DJSAIL capabilities.
% java -jar X3DJSAIL.3.3.classes.jar -help| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
USAGE
Usage:
java [-classpath X3DJSAIL.*.jar] org.web3d.x3d.jsail.CommandLine [sourceModel.x3d | package.path.ProgramName | -help | -page | -resources | -tooltips] [-tofile [resultFile.*]] [-properties [propertiesFile]] [-validate] [sourceModel.exi -fromEXI] [sourceModel.gz -fromGZIP] [sourceModel.zip -fromZIP] [-toX3D | -toXML | -toHTML | -toMarkdown | -toTidy | -toClassicVrml | -toJava | -toJSON | -toVRML97 | -toX3DOM | -toX_ITE | -toEXI | -toGZIP | -toZIP] |
| Constructor and Description |
|---|
CommandLine() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearLoadedX3dModel()
Reset already-loaded X3D model of interest to empty model
|
static void |
initialize()
Initialize this CommandLine instance to default values.
|
static void |
main(java.lang.String[] args)
Default main() method provided for test purposes, invoking run() method.
|
static void |
openX3DJSAILpage()
Open X3DJSAIL page
|
static void |
openX3DJSAILpage(java.lang.String bookmark)
Open X3DJSAIL page at a given bookmark
|
static void |
openX3dResourcesPage()
Open X3D Resources page
|
static void |
openX3dResourcesPage(java.lang.String bookmark)
Open X3D Resources page at a given bookmark
|
static void |
openX3dTooltipsPage()
Open X3D Tooltips page
|
static void |
openX3dTooltipsPage(java.lang.String bookmark)
Open X3D Tooltips page at a given bookmark
|
static void |
run(java.lang.String arguments)
Utility run() method provided for test purposes, allowing invocation with a single String (rather than a String[] array).
|
static void |
run(java.lang.String[] args)
Default run() method provided for test purposes, first initializing ConfigurationProperties then reading properties file (if any) and processing arguments.
|
static void |
setLoadedX3dModel(X3DObject newX3dModel)
Set already-loaded X3D model of interest, useful for initialization and use of CommandLine by other X3D Java programs.
|
public static final java.lang.String USAGE
java [-classpath X3DJSAIL.*.jar] org.web3d.x3d.jsail.CommandLine [sourceModel.x3d | package.path.ProgramName | -help | -page | -resources | -tooltips] [-tofile [resultFile.*]] [-properties [propertiesFile]] [-validate] [sourceModel.exi -fromEXI] [sourceModel.gz -fromGZIP] [sourceModel.zip -fromZIP] [-toX3D | -toXML | -toHTML | -toMarkdown | -toTidy | -toClassicVrml | -toJava | -toJSON | -toVRML97 | -toX3DOM | -toX_ITE | -toEXI | -toGZIP | -toZIP]public static void setLoadedX3dModel(X3DObject newX3dModel)
newX3dModel - already-loaded X3D model of interestpublic static void clearLoadedX3dModel()
public static final void initialize()
public static void main(java.lang.String[] args)
args - the command line argumentsrun(String[]),
X3DObject.handleArguments(String[])public static void run(java.lang.String arguments)
arguments - the command line argumentsrun(String[])public static void run(java.lang.String[] args)
args - the command line argumentsmain(String[]),
ConfigurationProperties,
X3DObject.handleArguments(String[])public static void openX3DJSAILpage()
public static void openX3DJSAILpage(java.lang.String bookmark)
bookmark - anchor bookmark of interest for this pagepublic static void openX3dResourcesPage()
public static void openX3dResourcesPage(java.lang.String bookmark)
bookmark - anchor bookmark of interest for this pagepublic static void openX3dTooltipsPage()
public static void openX3dTooltipsPage(java.lang.String bookmark)
bookmark - anchor bookmark of interest for this pageCopyright ©2005-2017 Web3D Consortium under an open-source license, free for any use. Feedback is welcome.