real
Class ControllerDL

java.lang.Object
  |
  +--real.ControllerDL

public class ControllerDL
extends java.lang.Object

This class provides the functionality necessary to download an Intellego Controller to the real RCX robot.

Author:
Graham Ritchie

Constructor Summary
ControllerDL(java.io.File sourceFile, java.io.File dir)
          Constructor: attempts to download the controller file passed to it.
 
Method Summary
 java.io.File createFile(java.lang.String className)
          Creates a Java file with a main method to allow the controller to be run in the real RCX.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ControllerDL

public ControllerDL(java.io.File sourceFile,
                    java.io.File dir)
Constructor: attempts to download the controller file passed to it.
Parameters:
sourceFile - the Java source file of the controller to be downloaded
dir - the directory where this file resides.
Method Detail

createFile

public java.io.File createFile(java.lang.String className)
Creates a Java file with a main method to allow the controller to be run in the real RCX. It is this file which is then downloaded to the RCX, and it 'pulls' the Controller file with it.