lejos.pc.tools
Class NXJFlash

java.lang.Object
  extended by lejos.pc.tools.NXJFlash
All Implemented Interfaces:
NXJFlashUI

public class NXJFlash
extends java.lang.Object
implements NXJFlashUI

Author:
andy

Constructor Summary
NXJFlash()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void message(java.lang.String str)
          Output a status message about an ongoing operation.
 void progress(java.lang.String str, int percent)
          Report the progress of an ongoing operation.
 int run(java.lang.String[] args)
          Run the flash command.
static int start(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NXJFlash

public NXJFlash()
Method Detail

message

public void message(java.lang.String str)
Description copied from interface: NXJFlashUI
Output a status message about an ongoing operation.

Specified by:
message in interface NXJFlashUI

progress

public void progress(java.lang.String str,
                     int percent)
Description copied from interface: NXJFlashUI
Report the progress of an ongoing operation.

Specified by:
progress in interface NXJFlashUI
Parameters:
str - Message about the operation
percent - percentage complete.

run

public int run(java.lang.String[] args)
        throws java.lang.Exception
Run the flash command.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments
Throws:
java.lang.Exception

start

public static int start(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception