lejos.pc.tools
Class NXJBrowser

java.lang.Object
  extended by lejos.pc.tools.NXJBrowser

public class NXJBrowser
extends Object

Graphical file browser for leJOS NXJ. Supports uploading,, downloading, and deleting files. Also supports running programs, defragging the file system and setting the name of the NXT.

Rating red

Field Summary
static int MAX_FILES
           
 
Constructor Summary
NXJBrowser()
           
 
Method Summary
 void getFile(File file, String fileName, int size)
           
static void main(String[] args)
           
 void run(String[] args)
           
 void runProgram(String fileName)
           
 void showMessage(String msg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_FILES

public static final int MAX_FILES
See Also:
Constant Field Values
Constructor Detail

NXJBrowser

public NXJBrowser()
Method Detail

main

public static void main(String[] args)

run

public void run(String[] args)
         throws TinyVMException,
                NXTCommException
Throws:
TinyVMException
NXTCommException

getFile

public void getFile(File file,
                    String fileName,
                    int size)

runProgram

public void runProgram(String fileName)
                throws IOException
Throws:
IOException

showMessage

public void showMessage(String msg)