Package org.htmlunit.cyberneko
Class HTMLScanner.PlainTextScanner
- java.lang.Object
-
- org.htmlunit.cyberneko.HTMLScanner.PlainTextScanner
-
- All Implemented Interfaces:
HTMLScanner.Scanner
- Enclosing class:
- HTMLScanner
public class HTMLScanner.PlainTextScanner extends Object implements HTMLScanner.Scanner
Special scanner used forPLAINTEXT
-
-
Constructor Summary
Constructors Constructor Description PlainTextScanner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanscan(boolean complete)Scans part of the document.protected voidscanCharacters(XMLString buffer, boolean complete)
-
-
-
Method Detail
-
scan
public boolean scan(boolean complete) throws IOExceptionDescription copied from interface:HTMLScanner.ScannerScans part of the document. This interface allows scanning to be performed in a pulling manner.- Specified by:
scanin interfaceHTMLScanner.Scanner- Parameters:
complete- True if the scanner should not return until scanning is complete.- Returns:
- True if additional scanning is required.
- Throws:
IOException- Thrown if I/O error occurs.
-
scanCharacters
protected void scanCharacters(XMLString buffer, boolean complete) throws IOException
- Throws:
IOException
-
-