lejos.pc.tools
Class NXJLinkAndUploadCommandLineParser

java.lang.Object
  extended by lejos.pc.tools.AbstractCommandLineParser
      extended by lejos.pc.tools.NXJLinkAndUploadCommandLineParser

public class NXJLinkAndUploadCommandLineParser
extends AbstractCommandLineParser

CommandLineParser


Field Summary
 
Fields inherited from class lejos.pc.tools.AbstractCommandLineParser
caller, options, params, result
 
Constructor Summary
NXJLinkAndUploadCommandLineParser(java.lang.Class<?> caller)
           
 
Method Summary
 java.lang.String getAddress()
           
 java.lang.String getBP()
           
 java.lang.String[] getClassNames()
           
 java.lang.String getCP()
           
 java.lang.String getDebugFile()
           
 int getDebugOptions()
           
 java.lang.String getName()
           
 java.lang.String getOutput()
           
 int getRunTimeOptions()
           
 boolean isAll()
           
 boolean isBigEndian()
           
 boolean isBluetooth()
           
 boolean isDebug()
           
 boolean isEnableAssert()
           
 boolean isEnableChecks()
           
 boolean isEnableCompact()
           
 boolean isHelp()
           
 boolean isRemoteDebug()
           
 boolean isRun()
           
 boolean isUSB()
           
 boolean isVerbose()
           
 void parse(java.lang.String[] args)
          Parse commandline.
 
Methods inherited from class lejos.pc.tools.AbstractCommandLineParser
getLastOptVal, getLastOptVal, printFooter, printHelp, printHelp, printHelp, printHelp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXJLinkAndUploadCommandLineParser

public NXJLinkAndUploadCommandLineParser(java.lang.Class<?> caller)
Method Detail

isBluetooth

public boolean isBluetooth()

isUSB

public boolean isUSB()

isRun

public boolean isRun()

getName

public java.lang.String getName()

getAddress

public java.lang.String getAddress()

parse

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

Parameters:
args - command line
Throws:
org.apache.commons.cli.ParseException - if an illegal argument is found

isHelp

public boolean isHelp()

isAll

public boolean isAll()

isDebug

public boolean isDebug()

isRemoteDebug

public boolean isRemoteDebug()

isVerbose

public boolean isVerbose()

isEnableAssert

public boolean isEnableAssert()

isEnableChecks

public boolean isEnableChecks()

isEnableCompact

public boolean isEnableCompact()

getOutput

public java.lang.String getOutput()

getDebugFile

public java.lang.String getDebugFile()

getBP

public java.lang.String getBP()

getCP

public java.lang.String getCP()

isBigEndian

public boolean isBigEndian()

getClassNames

public java.lang.String[] getClassNames()

getRunTimeOptions

public int getRunTimeOptions()

getDebugOptions

public int getDebugOptions()