public static class CompressionUtilities.CompressedFileWrapper extends Object
| Modifier and Type | Method and Description |
|---|---|
File |
getFile() |
String |
getFirstUncompressedCharacters(int length)
Gets the first uncompressed characters of the file.
|
CompressionUtilities.CompressionMethod |
getMethod() |
InputStream |
getUncompressedInputStream(ProgressListener progressListener) |
public File getFile()
public CompressionUtilities.CompressionMethod getMethod()
public InputStream getUncompressedInputStream(ProgressListener progressListener) throws IOException
progressListener - to report progress of reading the stream toIOException - if there is a problem creating the stream.public String getFirstUncompressedCharacters(int length) throws IOException
length - The number of characters to read.IOException - if there is a problem reading from the file.