Class HTMLScanner.PlainTextScanner

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private XMLString xmlString_
      A string buffer.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean scan​(boolean complete)
      Scans part of the document.
      protected void scanCharacters​(XMLString buffer, boolean complete)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • xmlString_

        private final XMLString xmlString_
        A string buffer.
    • Constructor Detail

      • PlainTextScanner

        public PlainTextScanner()
    • Method Detail

      • scan

        public boolean scan​(boolean complete)
                     throws java.io.IOException
        Description copied from interface: HTMLScanner.Scanner
        Scans part of the document. This interface allows scanning to be performed in a pulling manner.
        Specified by:
        scan in interface HTMLScanner.Scanner
        Parameters:
        complete - True if the scanner should not return until scanning is complete.
        Returns:
        True if additional scanning is required.
        Throws:
        java.io.IOException - Thrown if I/O error occurs.
      • scanCharacters

        protected void scanCharacters​(XMLString buffer,
                                      boolean complete)
                               throws java.io.IOException
        Throws:
        java.io.IOException