-
public interface TableRow
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnCount()StringgetColumnTitle(int column)String[]getColumnTitles()intgetColumnType(int column)intgetColumnType(String columnName)int[]getColumnTypes()doublegetDouble(int column)doublegetDouble(String columnName)floatgetFloat(int column)floatgetFloat(String columnName)intgetInt(int column)intgetInt(String columnName)longgetLong(int column)longgetLong(String columnName)StringgetString(int column)StringgetString(String columnName)voidprint()voidsetDouble(int column, double value)voidsetDouble(String columnName, double value)voidsetFloat(int column, float value)voidsetFloat(String columnName, float value)voidsetInt(int column, int value)voidsetInt(String columnName, int value)voidsetLong(int column, long value)voidsetLong(String columnName, long value)voidsetString(int column, String value)voidsetString(String columnName, String value)voidwrite(PrintWriter writer)
-
-
-
Method Detail
-
getString
String getString(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getFloat(int)
-
getString
String getString(String columnName)
- Parameters:
columnName- title of the column to reference
-
getInt
int getInt(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getFloat(int),getString(int)
-
getInt
int getInt(String columnName)
- Parameters:
columnName- title of the column to reference
-
getLong
long getLong(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getFloat(int),getString(int)
-
getLong
long getLong(String columnName)
- Parameters:
columnName- title of the column to reference
-
getFloat
float getFloat(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getString(int)
-
getFloat
float getFloat(String columnName)
- Parameters:
columnName- title of the column to reference
-
getDouble
double getDouble(int column)
- Parameters:
column- ID number of the column to reference- See Also:
getInt(int),getString(int)
-
getDouble
double getDouble(String columnName)
- Parameters:
columnName- title of the column to reference
-
setString
void setString(int column, String value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setInt(int, int),setFloat(int, float)
-
setString
void setString(String columnName, String value)
- Parameters:
columnName- title of the target column
-
setInt
void setInt(int column, int value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)
-
setInt
void setInt(String columnName, int value)
- Parameters:
columnName- title of the target column
-
setLong
void setLong(int column, long value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)
-
setLong
void setLong(String columnName, long value)
- Parameters:
columnName- title of the target column
-
setFloat
void setFloat(int column, float value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setInt(int, int),setString(int, String)
-
setFloat
void setFloat(String columnName, float value)
- Parameters:
columnName- title of the target column
-
setDouble
void setDouble(int column, double value)- Parameters:
column- ID number of the target columnvalue- value to assign- See Also:
setFloat(int, float),setString(int, String)
-
setDouble
void setDouble(String columnName, double value)
- Parameters:
columnName- title of the target column
-
getColumnCount
int getColumnCount()
- Returns:
- count of all columns
-
getColumnType
int getColumnType(String columnName)
- Parameters:
columnName- title of the target column- Returns:
- type of the column
-
getColumnType
int getColumnType(int column)
- Parameters:
column- ID number of the target column
-
getColumnTypes
int[] getColumnTypes()
- Returns:
- list of all column types
-
getColumnTitle
String getColumnTitle(int column)
- Parameters:
column- ID number of the target column- Returns:
- title of the column
-
getColumnTitles
String[] getColumnTitles()
- Returns:
- list of all column titles
-
write
void write(PrintWriter writer)
-
print
void print()
-
-