Class InputDimension
java.lang.Object
com.univocity.parsers.common.routine.InputDimension
A simple class to hold information about the dimensions of a given input, which are calculated using
AbstractRoutines.getInputDimension(File)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal int
Returns the maximum number of column the input contains.final long
rowCount()
Returns the total number of rows the input contains.
-
Field Details
-
rows
long rows -
columns
int columns
-
-
Constructor Details
-
InputDimension
InputDimension()
-
-
Method Details
-
rowCount
public final long rowCount()Returns the total number of rows the input contains.- Returns:
- the number of rows found in the input.
-
columnCount
public final int columnCount()Returns the maximum number of column the input contains.- Returns:
- the number of columns found in the input.
-