org.apache.jmeter.functions
Class FileRowColContainer
public class FileRowColContainer
File data container for CSV (and similar delimited) files Data is accessible
via row and column number
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
|
DELIMITER
public static final String DELIMITER
FileRowColContainer
public FileRowColContainer(String file)
throws IOException,
FileNotFoundException
FileRowColContainer
public FileRowColContainer(String file,
String delim)
throws IOException,
FileNotFoundException
getColumn
public String getColumn(int row,
int col)
throws IndexOutOfBoundsException
Get the string for the column from the current row
row
- row number (from 0)col
- column number (from 0)
- the string (empty if out of bounds)
getFileName
public String getFileName()
- the file name for this class
getSize
public int getSize()
nextRow
public int nextRow()
Returns the next row to the caller, and updates it, allowing for wrap
round
- the first free (unread) row
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.