|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.talvi.puffinplot.data.file.ZplotLoader
public class ZplotLoader
A file loader for the file format used by Steve Hurst's Zplot program.
Field Summary | |
---|---|
protected java.util.List<Datum> |
data
|
protected java.util.List<java.lang.String> |
messages
|
Constructor Summary | |
---|---|
ZplotLoader(java.io.File file)
Creates a new Zplot loader to read a 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 ZplotLoader(java.io.File file)
file
- the Zplot file to readMethod Detail |
---|
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 FileLoader
public java.util.List<java.lang.String> getExtraLines()
FileLoader
getExtraLines
in interface FileLoader
public 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 |