public class FileRowColContainer
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DELIMITER |
| Constructor and Description |
|---|
FileRowColContainer(java.lang.String file) |
FileRowColContainer(java.lang.String file,
java.lang.String delim) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getColumn(int row,
int col)
Get the string for the column from the current row
|
java.lang.String |
getFileName() |
int |
getSize() |
int |
nextRow()
Returns the next row to the caller, and updates it, allowing for wrap
round
|
public FileRowColContainer(java.lang.String file,
java.lang.String delim)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic FileRowColContainer(java.lang.String file)
throws java.io.IOException,
java.io.FileNotFoundException
java.io.IOExceptionjava.io.FileNotFoundExceptionpublic java.lang.String getColumn(int row,
int col)
throws java.lang.IndexOutOfBoundsException
row - row number (from 0)col - column number (from 0)java.lang.IndexOutOfBoundsException - if the column number is out of boundspublic int nextRow()
public java.lang.String getFileName()
public int getSize()
Copyright © 1998-2018 Apache Software Foundation. All Rights Reserved.