lejos.pc.tools
Class NXJFlash
java.lang.Object
lejos.pc.tools.NXJFlash
- All Implemented Interfaces:
- NXJFlashUI
public class NXJFlash
- extends Object
- implements NXJFlashUI
- Rating

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 |
NXJFlash
public NXJFlash()
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 operationpercent
- 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