lejos.pc.tools
Class NXJFlash

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

public class NXJFlash
extends Object
implements NXJFlashUI

Rating red

Constructor Summary
NXJFlash()
           
 
Method Summary
static void main(String[] args)
           
 void message(String str)
          Output a status message about an ongoing operation.
 void progress(String str, int percent)
          Report the progress of an ongoing operation.
 void run(String[] args)
          Run the flash command.
 
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(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(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 void run(String[] args)
         throws Exception
Run the flash command.

Parameters:
args - the command line arguments
Throws:
Exception

main

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