jp.hishidama.html.lexer.reader
クラス HtLexReader

java.lang.Object
  上位を拡張 java.io.Reader
      上位を拡張 java.io.FilterReader
          上位を拡張 java.io.PushbackReader
              上位を拡張 jp.hishidama.html.lexer.reader.HtLexReader
すべての実装されたインタフェース:
Closeable, Readable

public class HtLexReader
extends PushbackReader

HtHtmlLexer用リーダー.

導入されたバージョン:
2009.01.01
作成者:
ひしだま

コンストラクタの概要
HtLexReader(Reader r)
          コンストラクター.
 
メソッドの概要
 Char readChar()
          文字読込.
 void unreadChar(Char ch)
          プッシュバック.
 
クラス java.io.PushbackReader から継承されたメソッド
close, mark, markSupported, read, read, ready, reset, skip, unread, unread, unread
 
クラス java.io.Reader から継承されたメソッド
read, read
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

HtLexReader

public HtLexReader(Reader r)
コンストラクター.

パラメータ:
r - Reader
メソッドの詳細

readChar

public Char readChar()
              throws IOException
文字読込.

戻り値:
文字(必ずnull以外。ファイルの末尾まで読み込んだ場合はChar.EOFを返す)
例外:
IOException

unreadChar

public void unreadChar(Char ch)
プッシュバック.

パラメータ:
ch - 文字(nullやChar.EOFの場合は無処理)