public class CSVParser
extends java.lang.Object
Constructor and Description |
---|
CSVParser(java.lang.String values)
Creates a new instance of CSVParser
|
CSVParser(java.lang.String values,
boolean range)
Creates a new instance of CSVParser
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Test
|
double[] |
parseDouble()
Parse the string and returns an array containing all the values encountered.
|
int[] |
parseInt()
Parse the string and returns an array containing all the values encountered.
|
public CSVParser(java.lang.String values)
values
- The string containing the values to parsepublic CSVParser(java.lang.String values, boolean range)
values
- The string containing the values to parserange
- true (default) if ranges allowedpublic int[] parseInt() throws java.lang.NumberFormatException
java.lang.NumberFormatException
public double[] parseDouble() throws java.lang.NumberFormatException
java.lang.NumberFormatException
public static void main(java.lang.String[] args)
Submit Feedback to pmarrone@users.sourceforge.net