Wraps around another resource, delegates all queries (except getSize) to that other resource but uncompresses/compresses streams on the fly.
Access | Constructor and Description |
---|---|
protected | |
protected | CompressedResource(ResourceCollection
the resource to wrap. other)Constructor with another resource to wrap. |
Modifier and Type | Method and Description |
---|---|
protected abstract String | Returns: the name of the compression method.Get the name of the compression method used. |
public String | Returns: this Resource formatted as a String.Overrides org. |
CompressedResource | back to summary |
---|---|
protected CompressedResource() no arg constructor |
CompressedResource | back to summary |
---|---|
protected CompressedResource(ResourceCollection other) Constructor with another resource to wrap.
|
getCompressionName | back to summary |
---|---|
protected abstract String getCompressionName() Get the name of the compression method used.
|
toString | back to summary |
---|---|
public String toString() Overrides org. Get the string representation of this Resource. |