lejos.pc.tools
Class NXJCommandLineParser

java.lang.Object
  extended by js.tinyvm.util.TinyVMCommandLineParser
      extended by lejos.pc.tools.NXJCommandLineParser

public class NXJCommandLineParser
extends TinyVMCommandLineParser

CommandLineParser

Rating red

Field Summary
 
Fields inherited from class js.tinyvm.util.TinyVMCommandLineParser
options, result
 
Constructor Summary
NXJCommandLineParser()
           
 
Method Summary
 String getAddress()
           
 String getName()
           
 boolean isBluetooth()
           
 boolean isRun()
           
 boolean isUSB()
           
 void parse(String[] args)
          Parse commandline.
 
Methods inherited from class js.tinyvm.util.TinyVMCommandLineParser
getBP, getCP, getLastOptVal, getLastOptVal, getOutput, getRestArgs, getRunTimeOptions, isAll, isBigEndian, isDebug, isEnableAssert, isEnableChecks, isHelp, isVerbose, parseOrHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXJCommandLineParser

public NXJCommandLineParser()
Method Detail

isBluetooth

public boolean isBluetooth()

isUSB

public boolean isUSB()

isRun

public boolean isRun()

getName

public String getName()

getAddress

public String getAddress()

parse

public void parse(String[] args)
           throws org.apache.commons.cli.ParseException
Parse commandline.

Overrides:
parse in class TinyVMCommandLineParser
Parameters:
args - command line
Throws:
TinyVMException
org.apache.commons.cli.ParseException