lejos.pc.tools
Class NXJUpload

java.lang.Object
  extended by lejos.pc.comm.NXTCommLoggable
      extended by lejos.pc.tools.NXJUpload

public class NXJUpload
extends NXTCommLoggable

Command-line utility to upload a linked binary to the NXT.

Rating red

Field Summary
 
Fields inherited from class lejos.pc.comm.NXTCommLoggable
fLogListeners
 
Constructor Summary
NXJUpload()
          Create a NXJUpload object
 
Method Summary
 void addLogListener(ToolsLogListener listener)
          Register log listener
static void main(String[] args)
          Main entry point
 void removeLogListener(ToolsLogListener listener)
          Unregister log listener
 void run(String[] args)
          Run the utility.
 
Methods inherited from class lejos.pc.comm.NXTCommLoggable
addLogListener, log, log, removeLogListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXJUpload

public NXJUpload()
Create a NXJUpload object

Method Detail

main

public static void main(String[] args)
Main entry point

Parameters:
args - command line arguments

run

public void run(String[] args)
         throws TinyVMException,
                NXJUploadException
Run the utility. Note that this method can be called from other tools such as the Eclipse plug-in.

Parameters:
args - the command line arguments
Throws:
TinyVMException
NXJUploadException

addLogListener

public void addLogListener(ToolsLogListener listener)
Register log listener

Parameters:
listener -

removeLogListener

public void removeLogListener(ToolsLogListener listener)
Unregister log listener

Parameters:
listener -