Package gov.nasa.pds.web.ui.utils
Class TabularData
java.lang.Object
gov.nasa.pds.web.ui.utils.TabularData
public class TabularData extends Object
-
Constructor Summary
Constructors Constructor Description TabularData(File tabularFile, Long readRows, long startByte)TabularData(File tabularFile, List<ColumnInfo> columnInfos, long startByte)TabularData(File tabularFile, List<ColumnInfo> columnInfos, long startByte, Long readRows)TabularData(URL fileUrl, List<ColumnInfo> columnInfos, long startByte, Long readRows)TabularData(URL fileUrl, List<ColumnInfo> columnInfos, long startByte, Long readRows, String fieldDelimiter, int fieldsCount)Used for TableDelimited -
Method Summary
Modifier and Type Method Description voidaddProblem(int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)voidaddProblem(int lineNumber, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)voidaddProblem(gov.nasa.pds.tools.label.Statement statement, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)voidaddProblem(gov.nasa.pds.tools.label.Statement statement, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)voidaddProblem(gov.nasa.pds.tools.LabelParserException e)voidaddProblem(File sourceFile, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)voidaddProblem(URI sourceURI, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)ColumngetColumn(int index)ColumngetColumn(String searchName)List<ColumnInfo>getColumnDefs()List<Column>getColumns()FilegetDataFile()List<gov.nasa.pds.tools.LabelParserException>getProblems()List<Row>getRows()
-
Constructor Details
-
TabularData
-
TabularData
-
TabularData
-
TabularData
-
TabularData
public TabularData(URL fileUrl, List<ColumnInfo> columnInfos, long startByte, Long readRows, String fieldDelimiter, int fieldsCount)Used for TableDelimited- Parameters:
fileUrl-columnInfos-startByte-readRows-fieldDelimiter-
-
-
Method Details
-
getColumn
-
getColumn
-
getColumns
-
getRows
-
getColumnDefs
-
getDataFile
-
addProblem
-
addProblem
-
addProblem
-
addProblem
-
addProblem
-
addProblem
-
addProblem
public void addProblem(gov.nasa.pds.tools.LabelParserException e) -
getProblems
-