com.univocity.parsers.common.routine
Class InputDimension

java.lang.Object
  extended by com.univocity.parsers.common.routine.InputDimension

public final class InputDimension
extends Object

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 - dev@univocity.com

Method Summary
 int columnCount()
          Returns the maximum number of column the input contains.
 long rowCount()
          Returns the total number of rows the input contains.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.


Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.