org.seasar.s2csv.csv.io
??? DefaultCSVParser

java.lang.Object
  ????? org.seasar.s2csv.csv.io.DefaultCSVParser
????????????????:
CSVParser

public class DefaultCSVParser
extends java.lang.Object
implements CSVParser

S2CSVを読み込みます。

???:
newta

??????????
DefaultCSVParser(java.io.Reader reader, CSVEntityDesc csvConf)
          DefaultCSVParserを生成します。
 
???????
 void close()
          クローズ処理を行います。
 java.lang.String[] getCurrentLine()
          現在の行データを再度取得します。 (nextCSVLineで読み出した行を取得)
 long getCurrentLineNo()
          現在の行番号を取得します (カウントは0から開始(例:1行目は0))
 java.lang.String[] getHeader()
          ヘッダー行
 boolean isNext()
          次の行があるかチェックする
 java.lang.String[] nextCSVLine()
          次の行をreaderから読み出す。
 java.lang.String[] nextLine()
          CSVデータから1行のデータを取り出す。 CSVのシーケンスを1進める CSVデータがなくなった場合 null
 
??? java.lang.Object ???????????
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

??????????

DefaultCSVParser

public DefaultCSVParser(java.io.Reader reader,
                        CSVEntityDesc csvConf)
DefaultCSVParserを生成します。

?????:
reader -
csvConf -
???????

close

public void close()
??????? CSVParser ???:
クローズ処理を行います。

??:
??????? CSVParser ?? close

getCurrentLine

public java.lang.String[] getCurrentLine()
??????? CSVParser ???:
現在の行データを再度取得します。 (nextCSVLineで読み出した行を取得)

??:
??????? CSVParser ?? getCurrentLine
???:
1行データ

getCurrentLineNo

public long getCurrentLineNo()
??????? CSVParser ???:
現在の行番号を取得します (カウントは0から開始(例:1行目は0))

??:
??????? CSVParser ?? getCurrentLineNo
???:
行番号

getHeader

public java.lang.String[] getHeader()
??????? CSVParser ???:
ヘッダー行

??:
??????? CSVParser ?? getHeader
???:
ヘッダー行データ

isNext

public boolean isNext()
??????? CSVParser ???:
次の行があるかチェックする

??:
??????? CSVParser ?? isNext
???:
true 有り

nextLine

public java.lang.String[] nextLine()
??????? CSVParser ???:
CSVデータから1行のデータを取り出す。 CSVのシーケンスを1進める CSVデータがなくなった場合 null

??:
??????? CSVParser ?? nextLine
???:
1行データ

nextCSVLine

public java.lang.String[] nextCSVLine()
次の行をreaderから読み出す。

???:
次の行をパースしたもの 行が無かった場合null


Copyright © 2004-2008-2008 The Seasar Foundation. All Rights Reserved.