|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.talvi.puffinplot.data.file.PplLoader
public class PplLoader
A loader for PuffinPlot's own file format.
| Field Summary | |
|---|---|
protected java.util.List<Datum> |
data
|
protected java.util.List<java.lang.String> |
messages
|
| Constructor Summary | |
|---|---|
PplLoader(java.io.File file)
Creates a PuffinPlot file loader for the specified file. |
|
| Method Summary | |
|---|---|
protected void |
addDatum(Datum d)
|
protected void |
addMessage(java.lang.String message,
java.lang.Object... args)
|
java.util.List<Datum> |
getData()
Returns the data points read from the file. |
java.util.List<java.lang.String> |
getExtraLines()
Returns any lines in the file which were not handled by the loader. |
java.util.List<java.lang.String> |
getMessages()
Returns any messages produced during the loading process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<java.lang.String> messages
protected java.util.List<Datum> data
| Constructor Detail |
|---|
public PplLoader(java.io.File file)
file - the file from which to read data| Method Detail |
|---|
public java.util.List<java.lang.String> getExtraLines()
FileLoader
getExtraLines in interface FileLoader
protected void addMessage(java.lang.String message,
java.lang.Object... args)
protected void addDatum(Datum d)
public java.util.List<Datum> getData()
FileLoader
getData in interface FileLoaderpublic java.util.List<java.lang.String> getMessages()
FileLoader
getMessages in interface FileLoader
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||