|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.data.BaseDataProcessor
visad.data.EmptyDataProcessor
visad.data.EmptyDataWriter
public class EmptyDataWriter
A do-nothing DataWriter implementation
Constructor Summary | |
---|---|
EmptyDataWriter()
|
Method Summary | |
---|---|
void |
close()
Close the file |
void |
flush()
Flush all data to disk. |
void |
setFile(java.io.File file)
Open the specified file. |
void |
setFile(java.lang.String name)
Open the named file. |
Methods inherited from class visad.data.BaseDataProcessor |
---|
process, processLinear1DSet |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmptyDataWriter()
Method Detail |
---|
public void close() throws java.io.IOException
DataWriter
close
in interface DataWriter
java.io.IOException
- If there is a problem.public void flush() throws java.io.IOException
DataWriter
flush
in interface DataWriter
java.io.IOException
- If there is a problem.public void setFile(java.lang.String name)
DataWriter
setFile
in interface DataWriter
name
- The path used to open the file.public void setFile(java.io.File file)
DataWriter
setFile
in interface DataWriter
file
- The file.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |