com.panayotis.gnuplot.dataset.parser
Class FloatDataParser
java.lang.Object
com.panayotis.gnuplot.dataset.parser.NumericDataParser
com.panayotis.gnuplot.dataset.parser.FloatDataParser
- All Implemented Interfaces:
- DataParser
public class FloatDataParser
- extends NumericDataParser
Parser for Float data
- Author:
- teras
|
Constructor Summary |
FloatDataParser()
Create a new numeric data parser for Float values |
FloatDataParser(boolean first_column_date)
Create a new Float data parser, with the information that the first column is in date format. |
|
Method Summary |
protected boolean |
checkNumberFormat(String format)
Check whether this String represents a Float number |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FloatDataParser
public FloatDataParser()
- Create a new numeric data parser for Float values
FloatDataParser
public FloatDataParser(boolean first_column_date)
- Create a new Float data parser, with the information that the first column is in date format.
- Parameters:
first_column_date - Whether the first column is in date format
checkNumberFormat
protected boolean checkNumberFormat(String format)
- Check whether this String represents a Float number
- Specified by:
checkNumberFormat in class NumericDataParser
- Parameters:
format - the String containing the Float number
- Returns:
- True, if this is a representation of a Float number
Copyright © 2013. All Rights Reserved.