| java.lang.Object org.w3c.tidy.StreamInImpl
StreamInImpl | public class StreamInImpl implements StreamIn(Code) | | Input Stream Implementation. This implementation is from the c version of tidy and it doesn't take advantage of java
readers.
author: Dave Raggett dsr@w3.org author: Andy Quick ac.quick@sympatico.ca (translation to Java) author: Fabrizio Giustina version: $Revision: 1.28 $ ($Author: fgiust $) |
StreamInImpl | public StreamInImpl(InputStream stream, Configuration configuration)(Code) | | Instatiates a new StreamInImpl.
Parameters: stream - input stream Parameters: configuration - Configuration |
readRawBytesFromStream | protected void readRawBytesFromStream(int[] buf, int[] count, boolean unget)(Code) | | Read raw bytes from stream, return <= 0 if EOF; or if "unget" is true, Unget the bytes to re-synchronize the
input stream Normally UTF-8 successor bytes are read using this routine.
Parameters: buf - character buffer Parameters: count - number of bytes to read Parameters: unget - unget bytes |
setLexer | public void setLexer(Lexer lexer)(Code) | | Setter for lexer .
Parameters: lexer - The lexer to set. |
|
|