Class InputSourceImpl

java.lang.Object
org.xml.sax.InputSource
org.lobobrowser.html.parser.InputSourceImpl

public class InputSourceImpl extends InputSource
The InputSourceImpl class implements the InputSource interface.
Author:
J. H. S.
  • Constructor Details

    • InputSourceImpl

      public InputSourceImpl()
      Deprecated.
      Use a constructor that takes either a stream or a reader.
      Constructs an InputSourceImpl.
    • InputSourceImpl

      public InputSourceImpl(String uri)
      Constructs an 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.

      Parameters:
      uri - The URI (or systemID) of the document.
    • InputSourceImpl

      public InputSourceImpl(InputStream byteStream)
      Deprecated.
      Use constructor with uri parameter.
      Constructs an InputSourceImpl.
      Parameters:
      byteStream - The input stream where content can be read.
    • InputSourceImpl

      public InputSourceImpl(Reader characterStream)
      Deprecated.
      Use constructor with uri parameter.
      Constructs an InputSourceImpl.
      Parameters:
      characterStream - The Reader where characters can be read.
    • InputSourceImpl

      public InputSourceImpl(Reader characterStream, String uri)
      Constructs an InputSourceImpl.
      Parameters:
      characterStream - The Reader where characters can be read.
      uri - The URI of the document.
    • InputSourceImpl

      public InputSourceImpl(InputStream byteStream, String uri, String charset)
      Constructs an InputSourceImpl.
      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.