Package org.lobobrowser.html.parser
Class InputSourceImpl
java.lang.Object
org.xml.sax.InputSource
org.lobobrowser.html.parser.InputSourceImpl
The
InputSourceImpl
class implements
the InputSource
interface.- Author:
- J. H. S.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Use a constructor that takes either a stream or a reader.InputSourceImpl
(InputStream byteStream) Deprecated.Use constructor withuri
parameter.InputSourceImpl
(InputStream byteStream, String uri, String charset) Constructs anInputSourceImpl
.InputSourceImpl
(Reader characterStream) Deprecated.Use constructor withuri
parameter.InputSourceImpl
(Reader characterStream, String uri) Constructs anInputSourceImpl
.InputSourceImpl
(String uri) Constructs anInputSourceImpl
. -
Method Summary
Methods inherited from class org.xml.sax.InputSource
getByteStream, getCharacterStream, getEncoding, getPublicId, getSystemId, isEmpty, setByteStream, setCharacterStream, setEncoding, setPublicId, setSystemId
-
Constructor Details
-
InputSourceImpl
public InputSourceImpl()Deprecated.Use a constructor that takes either a stream or a reader.Constructs anInputSourceImpl
. -
InputSourceImpl
Constructs anInputSourceImpl
.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.
- Parameters:
uri
- The URI (or systemID) of the document.
-
InputSourceImpl
Deprecated.Use constructor withuri
parameter.Constructs anInputSourceImpl
.- Parameters:
byteStream
- The input stream where content can be read.
-
InputSourceImpl
Deprecated.Use constructor withuri
parameter.Constructs anInputSourceImpl
.- Parameters:
characterStream
- TheReader
where characters can be read.
-
InputSourceImpl
Constructs anInputSourceImpl
.- Parameters:
characterStream
- TheReader
where characters can be read.uri
- The URI of the document.
-
InputSourceImpl
Constructs anInputSourceImpl
.- Parameters:
byteStream
- The input stream where content can be read.uri
- The URI that identifies the content.charset
- The character set of the input stream.
-