edu.mit.ll.group43.surfaceoptimization.input
Class TextMinSeparationReader

java.lang.Object
  extended by edu.mit.ll.group43.surfaceoptimization.input.TextMinSeparationReader
All Implemented Interfaces:
MinSeparationReader

public class TextMinSeparationReader
extends java.lang.Object
implements MinSeparationReader

Reads minimum separation times in from a plain text file.

Author:
William Hawkins

Constructor Summary
TextMinSeparationReader(java.lang.String filename)
           
 
Method Summary
 int[] nextLine()
          Returns the next line of separation times from the file.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMinSeparationReader

public TextMinSeparationReader(java.lang.String filename)
                        throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
Method Detail

nextLine

public int[] nextLine()
Description copied from interface: MinSeparationReader
Returns the next line of separation times from the file. Null is returned if the end of the file is reached.

Specified by:
nextLine in interface MinSeparationReader
Returns: