sequence
Class FileSequenceReader

java.lang.Object
  extended by sequence.FileSequenceReader

public class FileSequenceReader
extends Object

Static class for reading from a file-sequence stream.

The format for file-sequence streams can be found here.


Constructor Summary
FileSequenceReader()
           
 
Method Summary
static byte[] readOneFile(InputStream sequence)
          Returns the data from the next sub-file in the given file sequence stream.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileSequenceReader

public FileSequenceReader()
Method Detail

readOneFile

public static byte[] readOneFile(InputStream sequence)
                          throws IOException,
                                 EOFException
Returns the data from the next sub-file in the given file sequence stream.

If no sub-files remain, returns null. If the stream ends prematurely, throws an EOFException.

Throws:
IOException
EOFException