public class GZipHandle extends StreamHandle
StreamHandle
StreamHandle.Settings
Constructor and Description |
---|
GZipHandle(String file)
Construct a new GZipHandle for the given file.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
isGZipFile(String file) |
protected void |
resetStream()
Close and reopen the stream; the stream pointer and mark should be
reset to 0.
|
close, exists, getFilePointer, getOrder, length, read, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setOrder, skipBytes, skipBytes, write, write, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
public GZipHandle(String file) throws IOException
file
- the path to the GZip fileHandleException
- if the given file name is not a GZip file.IOException
public static boolean isGZipFile(String file) throws IOException
file
- the path to the GZip fileIOException
- if the file cannot be readprotected void resetStream() throws IOException
StreamHandle
resetStream
in class StreamHandle
IOException
- if the stream cannot be resetCopyright © 2005–2025 Open Microscopy Environment. All rights reserved.