Top Description Fields Constructors Methods
com.univocity.parsers.common.routine

public final Class InputDimension

extends Object
Class Inheritance
Imports
java.io.*

A simple class to hold information about the dimensions of a given input, which are calculated using AbstractRoutines#getInputDimension(File)
Author
Univocity Software Pty Ltd - [email protected]

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv long

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public final int

Returns:

the number of columns found in the input.
columnCount
()

Returns the maximum number of column the input contains.

public final long

Returns:

the number of rows found in the input.
rowCount
()

Returns the total number of rows the input contains.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

columnsback to summary
pack-priv int columns
rowsback to summary
pack-priv long rows

Constructor Detail

InputDimensionback to summary
pack-priv InputDimension()

Method Detail

columnCountback to summary
public final int columnCount()

Returns the maximum number of column the input contains.

Returns:int

the number of columns found in the input.

rowCountback to summary
public final long rowCount()

Returns the total number of rows the input contains.

Returns:long

the number of rows found in the input.