visad.data
Interface DataWriter
-
- All Superinterfaces:
- DataProcessor
- All Known Implementing Classes:
- BinaryWriter, EmptyDataWriter
public interface DataWriter extends DataProcessor
Standard routines used to write aDataobject.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()Close the filevoidflush()Flush all data to disk.voidsetFile(java.io.File file)Open the specified file.voidsetFile(java.lang.String name)Open the named file.-
Methods inherited from interface visad.data.DataProcessor
process, processDoubleSet, processFieldImpl, processFlatField, processFloatSet, processGridded1DDoubleSet, processGridded1DSet, processGridded2DDoubleSet, processGridded2DSet, processGridded3DDoubleSet, processGridded3DSet, processGriddedSet, processInteger1DSet, processInteger2DSet, processInteger3DSet, processIntegerNDSet, processIrregular1DSet, processIrregular2DSet, processIrregular3DSet, processIrregularSet, processLinear1DSet, processLinear2DSet, processLinear3DSet, processLinearLatLonSet, processLinearNDSet, processList1DSet, processProductSet, processReal, processRealTuple, processSampledSet, processSimpleSet, processSingletonSet, processText, processTuple, processUnionSet, processUnknownData
-
-
-
-
Method Detail
-
close
void close() throws java.io.IOExceptionClose the file- Throws:
java.io.IOException- If there is a problem.
-
flush
void flush() throws java.io.IOExceptionFlush all data to disk.- Throws:
java.io.IOException- If there is a problem.
-
setFile
void setFile(java.lang.String name) throws java.io.IOExceptionOpen the named file. If a file is already being written to, all data will be flushed and the file will be closed.- Parameters:
name- The path used to open the file.- Throws:
java.io.IOException- If there is a problem.
-
setFile
void setFile(java.io.File file) throws java.io.IOExceptionOpen the specified file. If a file is already being written to, all data will be flushed and the file will be closed.- Parameters:
file- The file.- Throws:
java.io.IOException- If there is a problem.
-
-
DMelt 3.0 © DataMelt by jWork.ORG