ContentInputStream Class

Provides an input stream for reading the "Content" tag found in a "GetAttachmentResponse" message.

Constructors

There are no public constructors.

Public Methods

markSupported( ) returns boolean
Returns false. This stream does not support the mark and reset methods.
read( ) returns int
Reads the next byte of data from the "Content" tag. The byte is returned as a positive integer. Returns a value of -1 if there is no more data to read (e.g. found whitespace, start of new xml tag, or end of stream).