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 void
addProblem(int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
void
addProblem(int lineNumber, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
void
addProblem(gov.nasa.pds.tools.label.Statement statement, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
void
addProblem(gov.nasa.pds.tools.label.Statement statement, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
void
addProblem(gov.nasa.pds.tools.LabelParserException e)
void
addProblem(File sourceFile, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
void
addProblem(URI sourceURI, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
Column
getColumn(int index)
Column
getColumn(String searchName)
List<ColumnInfo>
getColumnDefs()
List<Column>
getColumns()
File
getDataFile()
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
-