This service represents a stream contained within a Package. Instances of
this class can only be constructed by the implementation of the Package
service.
getInputStream provides read access to the contents of this PackageStream.
If this PackageStream was a member of the Package when it was instantiated,
the XInputStream returned is a Reference to the stream of the whole Package,
with limits set on where it can seek to and read from. If the PackageStream
is a new addition to the package, then getInputStream returns a Reference
to the XInputStream which was specified with setInputStream.
setInputStream - provides a stream to the data contained in the PackageStream
this must be specified for new PackageStreams added to the Package. If this
is called more than once, it will replace the existing stream.
This interface provides access to the properties of the package entry.
Currently, this supports three entries:
1. Size, describing the uncompressed size of PackageStream.
2. MediaType, a string describing the MIME type of the stream.
3. Compress, a boolean flag to specify whether or not to compress
this PackageStream.
getInputStream provides read access to the contents of this PackageStream.
If this PackageStream was a member of the Package when it was instantiated,
the XInputStream returned is a Reference to the stream of the whole Package,
with limits set on where it can seek to and read from. If the PackageStream
is a new addition to the package, then getInputStream returns a Reference
to the XInputStream which was specified with setInputStream.
setInputStream - provides a stream to the data contained in the PackageStream
this must be specified for new PackageStreams added to the Package. If this
is called more than once, it will replace the existing stream.
This interface provides access to the properties of the package entry.
Currently, this supports three entries:
1. Size, describing the uncompressed size of PackageStream.
2. MediaType, a string describing the MIME type of the stream.
3. Compress, a boolean flag to specify whether or not to compress
this PackageStream.