public class FileRowColContainer extends Object
| Constructor | Description |
|---|---|
FileRowColContainer(String file) |
|
FileRowColContainer(String file,
String delim) |
| Modifier and Type | Method | 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
IOExceptionFileNotFoundExceptionpublic FileRowColContainer(String file) throws IOException, FileNotFoundException
IOExceptionFileNotFoundExceptionpublic 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-2018 Apache Software Foundation. All Rights Reserved.