org.apache.tools.ant.types.resources
Class BZip2Resource
- Cloneable, Comparable, ResourceCollection
public class BZip2Resource
A Bzip2 compressed resource.
Wraps around another resource, delegates all quries to that
other resource but uncompresses/compresses streams on the fly.
addConfigured, compareTo, getCompressionName, getInputStream, getLastModified, getName, getOutputStream, getSize, hashCode, isDirectory, isExists, isFilesystemOnly, setDirectory, setExists, setLastModified, setName, setRefid, setSize, toString, wrapStream, wrapStream |
clone, compareTo, equals, getInputStream, getLastModified, getMagicNumber, getName, getOutputStream, getSize, hashCode, isDirectory, isExists, isFilesystemOnly, iterator, setDirectory, setExists, setLastModified, setName, setRefid, setSize, size, toLongString, toString |
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, setChecked, setRefid, toString, tooManyAttributes |
BZip2Resource
public BZip2Resource()
A no-arg constructor
BZip2Resource
public BZip2Resource(ResourceCollection other)
Constructor with another resource to wrap.
other - the resource to wrap.
wrapStream
protected OutputStream wrapStream(OutputStream out)
throws IOException- wrapStream in interface CompressedResource
out - the stream to wrap.