|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.panayotis.gnuplot.dataset.parser.NumericDataParser
public abstract class NumericDataParser
Generic data parser for numeric data
| Constructor Summary | |
|---|---|
NumericDataParser()
Create a new numeric data parser |
|
NumericDataParser(boolean first_column_date)
Create a new numeric data parser, with the information that the first column is in date format. |
|
| Method Summary | |
|---|---|
protected abstract boolean |
checkNumberFormat(java.lang.String format)
Check whether this String represents a number |
boolean |
isValid(java.lang.String data,
int index)
Check whether a data value with a specific index number is valid or not |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NumericDataParser()
public NumericDataParser(boolean first_column_date)
first_column_date - Whether the first column is in date format| Method Detail |
|---|
public boolean isValid(java.lang.String data,
int index)
isValid in interface DataParserdata - The numerical data to checkindex - The index of the specified data
protected abstract boolean checkNumberFormat(java.lang.String format)
format - the String containing the number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||