1 5 6 package org.w3c.tidy; 7 8 32 33 import java.io.InputStream ; 34 35 public abstract class StreamIn { 36 37 public static final int EndOfStream = -1; 39 50 51 public static final int FSM_ASCII = 0; 52 public static final int FSM_ESC = 1; 53 public static final int FSM_ESCD = 2; 54 public static final int FSM_ESCDP = 3; 55 public static final int FSM_ESCP = 4; 56 public static final int FSM_NONASCII = 5; 57 58 59 public int state; 60 public boolean pushed; 61 public int c; 62 public int tabs; 63 public int tabsize; 64 public int lastcol; 65 public int curcol; 66 public int curline; 67 public int encoding; 68 public InputStream stream; 69 public boolean endOfStream; 70 public Object lexer; 71 72 73 public abstract int readCharFromStream(); 74 75 public abstract int readChar(); 76 77 public abstract void ungetChar(int c); 78 79 public abstract boolean isEndOfStream(); 80 81 } 82 | Popular Tags |