public class BZip2Handle extends StreamHandle
StreamHandle
Constructor and Description |
---|
BZip2Handle(String file)
Construct a new BZip2Handle corresponding to the given file.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isBZip2File(String file)
Returns true if the given filename is a BZip2 file.
|
protected void |
resetStream()
Close and reopen the stream; the stream pointer and mark should be
reset to 0.
|
close, getFilePointer, getOrder, length, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setOrder, skipBytes, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public BZip2Handle(String file) throws IOException
HandleException
- if the given file is not a BZip2 file.IOException
public static boolean isBZip2File(String file) throws IOException
IOException
protected void resetStream() throws IOException
StreamHandle
resetStream
in class StreamHandle
IOException
Copyright © 2016 Open Microscopy Environment