jp.cssj.sakae.sac.util.io
クラス StreamNormalizingReader

java.lang.Object
  拡張java.io.Reader
      拡張jp.cssj.sakae.sac.util.io.NormalizingReader
          拡張jp.cssj.sakae.sac.util.io.StreamNormalizingReader

public class StreamNormalizingReader
extends NormalizingReader

This class represents a NormalizingReader which handles streams of bytes.

バージョン:
$Id: StreamNormalizingReader.java,v 1.4 2003/08/08 11:39:27 vhardy Exp $
作成者:
Stephane Hillion

フィールドの概要
protected  int column
          The current column in the stream.
protected  Reader in
          The reader.
protected  int line
          The current line in the stream.
protected  int nextChar
          The next char.
 
クラス java.io.Reader から継承したフィールド
lock
 
コンストラクタの概要
StreamNormalizingReader(Reader in)
          Creates a new NormalizingReader.
 
メソッドの概要
 void close()
          Close the stream.
 int getColumn()
          Returns the current column in the stream.
 int getLine()
          Returns the current line in the stream.
 int read()
          Read a single character.
 
クラス jp.cssj.sakae.sac.util.io.NormalizingReader から継承したメソッド
read
 
クラス java.io.Reader から継承したメソッド
mark, markSupported, read, ready, reset, skip
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

in

protected final Reader in
The reader.


nextChar

protected int nextChar
The next char.


line

protected int line
The current line in the stream.


column

protected int column
The current column in the stream.

コンストラクタの詳細

StreamNormalizingReader

public StreamNormalizingReader(Reader in)
                        throws IOException
Creates a new NormalizingReader.

メソッドの詳細

read

public int read()
         throws IOException
Read a single character. This method will block until a character is available, an I/O error occurs, or the end of the stream is reached.

例外:
IOException

getLine

public int getLine()
Returns the current line in the stream.

定義:
クラス NormalizingReader 内の getLine

getColumn

public int getColumn()
Returns the current column in the stream.

定義:
クラス NormalizingReader 内の getColumn

close

public void close()
           throws IOException
Close the stream.

例外:
IOException


(c)2009 GNN & Co.,Ltd.