All Packages Class Hierarchy This Package Previous Next Index
Class ncsa.hdf.io.ASCIIWriter
java.lang.Object
|
+----java.io.Writer
|
+----java.io.PrintWriter
|
+----ncsa.hdf.io.ASCIIWriter
- public class ASCIIWriter
- extends PrintWriter
HDFWriter writes HDF Objects into an ASCII file
- Version:
- 1.1.3 January 8, 1998
- Author:
- Peter X. Cao
- See Also:
- PrintWriter
-
NL
- the new charactor
-
nl
- array of carriage return and LF NL linefeed
-
ASCIIWriter(String)
-
-
ASCIIWriter(String, boolean)
-
-
setDelimiter(String)
- set delimiter
-
write2DData(String, String, int, Dimension, int, Object)
- write 2D data
-
writeAnnotation(String)
- write annotation into the ASCII file
-
writeVdata(String, int[], String[], int[], int, String[][])
- write HDF Vdata data
nl
public static char nl[]
- array of carriage return and LF NL linefeed
NL
public static String NL
- the new charactor
ASCIIWriter
public ASCIIWriter(String fileName) throws IOException
ASCIIWriter
public ASCIIWriter(String fileName,
boolean append) throws IOException
setDelimiter
public void setDelimiter(String delimiter)
- set delimiter
writeAnnotation
public void writeAnnotation(String annotation) throws IOException
- write annotation into the ASCII file
write2DData
public void write2DData(String format,
String name,
int rank,
Dimension d,
int dataType,
Object data) throws IOException
- write 2D data
writeVdata
public void writeVdata(String name,
int field_types[],
String field_names[],
int field_orders[],
int n_records,
String data[][]) throws IOException
- write HDF Vdata data
All Packages Class Hierarchy This Package Previous Next Index