|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectnet.java.sen.util.CSVParser
public class CSVParser
parse CSV file and extract token.
| コンストラクタの概要 | |
|---|---|
CSVParser(java.io.InputStream inputStream,
java.lang.String charset)
Constructor for a parser that reads lines from an InputStream |
|
CSVParser(java.lang.String string)
Constructor for a parser that reads lines from a String |
|
| メソッドの概要 | |
|---|---|
java.lang.String |
currentLine()
Returns the unparsed current line of text |
boolean |
nextRow()
Advances to the next line of CSV data, if any, skipping any remaining values on the current row |
java.lang.String |
nextToken()
Reads the next value from the current line |
java.lang.String[] |
nextTokens()
Returns an array of all values from the next line of the input |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public CSVParser(java.io.InputStream inputStream,
java.lang.String charset)
throws java.io.IOException
inputStream - The InputStream to read fromcharset - The charset of the InputStream
java.io.IOExceptionpublic CSVParser(java.lang.String string)
string - The string to read from| メソッドの詳細 |
|---|
public boolean nextRow()
throws java.io.IOException
true if a line was read; false othewise
java.io.IOExceptionpublic java.lang.String nextToken()
public java.lang.String[] nextTokens()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String currentLine()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||