public InputSource (InputStream byteStream)

Create a new input source with a byte stream.

Application writers should use setSystemId() to provide a base for resolving relative URIs, may use setPublicId to include a public identifier, and may use setEncoding to specify the object's character encoding.

Parameters:
byteStream    The raw byte stream containing the document.

See also:
setPublicId, setSystemId, setEncoding, setByteStream, setCharacterStream