|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.java.sen.util.CSVData
public class CSVData
A class used to build a line of CSV data
フィールドの概要 | |
---|---|
protected java.util.LinkedList<java.lang.String> |
elements
The values comprising the line |
コンストラクタの概要 | |
---|---|
CSVData()
|
メソッドの概要 | |
---|---|
void |
append(java.lang.String element)
Appends a value to the line |
void |
clear()
Removes all values from the line |
protected java.lang.String |
enquote(java.lang.String string)
Surrounds a string with double quotes if it contains either a double quote or a comma; replaces double quotes with a pair of double quotes |
void |
insert(int index,
java.lang.String element)
Inserts a value into the line at a given index |
void |
remove(int index)
Removes the value at the given index of the line |
void |
set(int index,
java.lang.String element)
Replaces the value at the index of the line with a new value |
java.lang.String |
toString()
Returns the line of CSV data represented by this class |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected java.util.LinkedList<java.lang.String> elements
コンストラクタの詳細 |
---|
public CSVData()
メソッドの詳細 |
---|
public void append(java.lang.String element)
element
- The element to be appended.public void insert(int index, java.lang.String element)
index
- The index at which the value is to be insertedelement
- The value to be insertedpublic void remove(int index)
index
- The index from which to remove a valuepublic void set(int index, java.lang.String element)
index
- The index at which to replace a valueelement
- The value with which to replacepublic void clear()
public java.lang.String toString()
java.lang.Object
内の toString
protected java.lang.String enquote(java.lang.String string)
string
- The string to quote
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |