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
All Methods Instance Methods Concrete Methods 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 Detail
-
TabularData
public TabularData(File tabularFile, List<ColumnInfo> columnInfos, long startByte)
-
TabularData
public TabularData(File tabularFile, List<ColumnInfo> columnInfos, long startByte, Long readRows)
-
TabularData
public TabularData(URL fileUrl, List<ColumnInfo> columnInfos, long startByte, Long readRows)
-
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 Detail
-
getColumn
public Column getColumn(int index)
-
getColumnDefs
public List<ColumnInfo> getColumnDefs()
-
getDataFile
public File getDataFile()
-
addProblem
public void addProblem(int lineNumber, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(gov.nasa.pds.tools.label.Statement statement, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(gov.nasa.pds.tools.label.Statement statement, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(URI sourceURI, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(File sourceFile, int lineNumber, Integer column, String key, gov.nasa.pds.tools.constants.Constants.ProblemType type, Object... arguments)
-
addProblem
public void addProblem(gov.nasa.pds.tools.LabelParserException e)
-
getProblems
public List<gov.nasa.pds.tools.LabelParserException> getProblems()
-
-