sequence
Class FileSequenceReader
java.lang.Object
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.
Method Summary |
static byte[] |
readOneFile(InputStream sequence)
Returns the data from the next sub-file in the given file sequence stream. |
FileSequenceReader
public FileSequenceReader()
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