Package io.revealbi.core.data
Class RVExcelRange
java.lang.Object
io.revealbi.core.data.RVExcelRange
Class defining the range that should be used when loading data from an Excel sheet.
-
Constructor Summary
ConstructorsConstructorDescriptionRVExcelRange(int locX, int locY, int lenX, int lenY) Creates an Excel range with the given starting position and dimensions. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the number of columns in the range.intReturns the number of rows in the range.intReturns the zero-based column index of the top-left cell of the range.intReturns the zero-based row index of the top-left cell of the range.
-
Constructor Details
-
RVExcelRange
public RVExcelRange(int locX, int locY, int lenX, int lenY) Creates an Excel range with the given starting position and dimensions.- Parameters:
locX- The zero-based column index of the top-left cell.locY- The zero-based row index of the top-left cell.lenX- The number of columns in the range.lenY- The number of rows in the range.
-
-
Method Details
-
getLocationX
public int getLocationX()Returns the zero-based column index of the top-left cell of the range.- Returns:
- The column index.
-
getLocationY
public int getLocationY()Returns the zero-based row index of the top-left cell of the range.- Returns:
- The row index.
-
getLengthX
public int getLengthX()Returns the number of columns in the range.- Returns:
- The column count.
-
getLengthY
public int getLengthY()Returns the number of rows in the range.- Returns:
- The row count.
-