java.lang.Cloneable, java.lang.Comparable<Resource>, java.lang.Iterable<Resource>, ResourceCollectionBZip2Resource, GZipResource, XzResourcepublic abstract class CompressedResource extends ContentTransformingResource
Wraps around another resource, delegates all queries (except getSize) to that other resource but uncompresses/compresses streams on the fly.
description, location, projectMAGIC, UNKNOWN_DATETIME, UNKNOWN_SIZE| Modifier | Constructor | Description |
|---|---|---|
protected |
CompressedResource() |
no arg constructor
|
protected |
CompressedResource(ResourceCollection other) |
Constructor with another resource to wrap.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract java.lang.String |
getCompressionName() |
Get the name of the compression method used.
|
java.lang.String |
toString() |
Get the string representation of this Resource.
|
as, getInputStream, getOutputStream, getSize, isAppendSupported, wrapStream, wrapStreamcheckAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, tooManyAttributesfinalize, getClass, notify, notifyAll, wait, wait, waitgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectasOptional, clone, equals, getCheckedRef, getMagicNumber, iterator, size, toLongStringisEmpty, streamaddConfigured, compareTo, dieOnCircularReference, getLastModified, getName, getResource, hashCode, isDirectory, isExists, isFilesystemOnly, setDirectory, setExists, setLastModified, setName, setRefid, setSizeprotected CompressedResource()
protected CompressedResource(ResourceCollection other)
other - the resource to wrap.