jp.terasoluna.fw.file.dao.standard
クラス LineFeed0LineReader

java.lang.Object
  上位を拡張 jp.terasoluna.fw.file.dao.standard.LineFeed0LineReader
すべての実装されたインタフェース:
LineReader

public class LineFeed0LineReader
extends Object
implements LineReader

ファイルからデータ部のデータを1行分読み取り、文字列として呼出元に返却する。


コンストラクタの概要
LineFeed0LineReader(Reader reader, String fileEncoding, int totalBytes)
          コンストラクタ。
 
メソッドの概要
 String readLine()
          ファイルからデータ部のデータを1行分読み取り、文字列として呼出元に返却する。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

LineFeed0LineReader

public LineFeed0LineReader(Reader reader,
                           String fileEncoding,
                           int totalBytes)
コンストラクタ。

パラメータ:
reader - ファイルアクセス用の文字ストリーム
fileEncoding - ファイルエンコーディング
totalBytes - 1行分のバイト数
例外:
IllegalArgumentException - 引数の設定が間違った場合。
メソッドの詳細

readLine

public String readLine()
ファイルからデータ部のデータを1行分読み取り、文字列として呼出元に返却する。

定義:
インタフェース LineReader 内の readLine
戻り値:
データ部の1行分の文字列
例外:
FileException - Readerの処理で例外が発生した場合。


Copyright © 2011. All Rights Reserved.