All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class pbsim.RCXIReader

java.lang.Object
   |
   +----pbsim.RCXIReader

public class RCXIReader
extends java.lang.Object
This class creates instances of Programs from NQC output files.


Constructor Index

 o RCXIReader(InputStream)
Instantiate a new reader for the given InputStream

Method Index

 o readProgram()
Read the file and create a Program object.

Constructors

 o RCXIReader
 public RCXIReader(java.io.InputStream is)
Instantiate a new reader for the given InputStream

Parameters:
is - InputStream of an RCXI formatted file (such as produced by NQC).

Methods

 o readProgram
 public pbsim.Program readProgram() throws java.io.IOException, pbsim.RCXIFormatException
Read the file and create a Program object. Note it is an error to call this method more than once for a given RCXIReader.

Returns:
s a program object suitable for a call to PBrick.load()

All Packages  Class Hierarchy  This Package  Previous  Next  Index