|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jmatchparser.util.csv.AbstractCSVReader
net.sf.jmatchparser.util.csv.PropertiesCSVReader
public class PropertiesCSVReader
Class to read data from a Properties
file as if it was a CSV (Comma
Separated Value) file.
Constructor Summary | |
---|---|
PropertiesCSVReader(Properties properties,
int firstIndex,
Format... columnFormats)
Create a new PropertiesCSVReader that reads from the given
Properties file. |
|
PropertiesCSVReader(Properties properties,
int firstIndex,
String... columnFormats)
Create a new PropertiesCSVReader that reads from the given
Properties file. |
Method Summary | |
---|---|
void |
close()
Close this reader. |
String[] |
read()
Read a row from this XML file. |
Methods inherited from class net.sf.jmatchparser.util.csv.AbstractCSVReader |
---|
read, read, writeTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertiesCSVReader(Properties properties, int firstIndex, String... columnFormats)
PropertiesCSVReader
that reads from the given
Properties
file. Each columnFormat is evaluated for each row
number to return the respective property name for this column.
properties
- Property file to write tofirstIndex
- index of the first rowcolumnFormats
- column formatspublic PropertiesCSVReader(Properties properties, int firstIndex, Format... columnFormats)
PropertiesCSVReader
that reads from the given
Properties
file. Each columnFormat is evaluated for each row
number to return the respective property name for this column.
properties
- Property file to write tofirstIndex
- index of the first rowcolumnFormats
- column formatsMethod Detail |
---|
public void close() throws IOException
close
in class AbstractCSVReader
IOException
public String[] read() throws IOException
read
in class AbstractCSVReader
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |