Classes

InputSource

An InputSource represents a source from which the parser can read an XML document.

Constructor
public InputSource()
public InputSource(InputStream byteStream)
public InputSource(Reader characterStream)
public InputSource(String systemId)

Creates a new InputSource that reads from the specified stream, reader, or system identifier.

getByteStream
public InputStream getByteStream()

Returns the byte stream for this InputSource.

getCharacterStream
public Reader getCharacterStream()

Returns the character stream for this InputSource.

getEncoding
public String getEncoding()

Returns the encoding used for the byte stream or the system identifier.

getPublicId
public String getPublicId()

Returns the public identifier for this ...

Get Special Edition Using Java™ 2 Enterprise Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.