wrapStream(OutputStream out) Is supposed to wrap the stream to allow compression on the fly.
Parameters: out - OutputStream to wrap, will never be null.
Delegates to a comparison of names.
Parameters: other - the object to compare to. a negative integer, zero, or a positive integer as this Resourceis less than, equal to, or greater than the specified Resource.
Get an InputStream for the Resource.
an InputStream containing this Resource's content. throws: IOException - if unable to provide the content of thisResource as a stream. throws: UnsupportedOperationException - if InputStreams are notsupported for this Resource type.
Get an OutputStream for the Resource.
an OutputStream to which content can be written. throws: IOException - if unable to provide the content of thisResource as a stream. throws: UnsupportedOperationException - if OutputStreams are notsupported for this Resource type.
Get the size of this Resource.
the size, as a long, 0 if the Resource does not exist (forcompatibility with java.io.File), or UNKNOWN_SIZE if not known.
Is supposed to wrap the stream to allow decompression on the fly.
Parameters: in - InputStream to wrap, will never be null. a compressed inputstream. throws: IOException - if there is a problem.
Is supposed to wrap the stream to allow compression on the fly.
Parameters: out - OutputStream to wrap, will never be null. a compressed outputstream. throws: IOException - if there is a problem.
Fields inherited from org.apache.tools.ant.types.Resource