org.lobobrowser.html.parser
public class InputSourceImpl extends org.xml.sax.InputSource
InputSourceImpl
class implements
the InputSource
interface.Constructor and Description |
---|
InputSourceImpl()
Deprecated.
Use a constructor that takes either a stream or a reader.
|
InputSourceImpl(java.io.InputStream byteStream)
Deprecated.
Use constructor with
uri parameter. |
InputSourceImpl(java.io.InputStream byteStream,
java.lang.String uri,
java.lang.String charset)
Constructs an
InputSourceImpl . |
InputSourceImpl(java.io.Reader characterStream)
Deprecated.
Use constructor with
uri parameter. |
InputSourceImpl(java.io.Reader characterStream,
java.lang.String uri)
Constructs an
InputSourceImpl . |
InputSourceImpl(java.lang.String uri)
Constructs an
InputSourceImpl . |
public InputSourceImpl()
InputSourceImpl
.public InputSourceImpl(java.lang.String uri)
InputSourceImpl
.
It is valid to use this constructor, but it is generally recommended that callers use one of the constructors that take a reader or an input stream instead.
uri
- The URI (or systemID) of the document.public InputSourceImpl(java.io.InputStream byteStream)
uri
parameter.InputSourceImpl
.byteStream
- The input stream where content can be read.public InputSourceImpl(java.io.Reader characterStream)
uri
parameter.InputSourceImpl
.characterStream
- The Reader
where characters can be read.public InputSourceImpl(java.io.Reader characterStream, java.lang.String uri)
InputSourceImpl
.characterStream
- The Reader
where characters can be read.uri
- The URI of the document.public InputSourceImpl(java.io.InputStream byteStream, java.lang.String uri, java.lang.String charset)
InputSourceImpl
.byteStream
- The input stream where content can be read.uri
- The URI that identifies the content.charset
- The character set of the input stream.