|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.talvi.puffinplot.data.Datum.Reader
public static class Datum.Reader
This class allows datum objects to be created from string representations of a specified format. The headers (corresponding to field names) are specified in the constructor, and data lines with a format corresponding to the supplied headers can then be turned into datum objects.
| Constructor Summary | |
|---|---|
Datum.Reader(java.util.List<java.lang.String> headers)
Create a new reader using the supplied header strings. |
|
| Method Summary | |
|---|---|
Datum |
fromStrings(java.util.List<java.lang.String> strings)
Creates a a datum object using the supplied strings to populate the data fields. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Datum.Reader(java.util.List<java.lang.String> headers)
DatumField field.
headers - list of headers defining the data format| Method Detail |
|---|
public Datum fromStrings(java.util.List<java.lang.String> strings)
DatumFields supplied to the reader's constructor.
strings - string representations of data values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||