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