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

Variable Index

 o NL
the new charactor
 o nl
array of carriage return and LF NL linefeed

Constructor Index

 o ASCIIWriter(String)
 o ASCIIWriter(String, boolean)

Method Index

 o setDelimiter(String)
set delimiter
 o write2DData(String, String, int, Dimension, int, Object)
write 2D data
 o writeAnnotation(String)
write annotation into the ASCII file
 o writeVdata(String, int[], String[], int[], int, String[][])
write HDF Vdata data

Variables

 o nl
 public static char nl[]
array of carriage return and LF NL linefeed

 o NL
 public static String NL
the new charactor

Constructors

 o ASCIIWriter
 public ASCIIWriter(String fileName) throws IOException
 o ASCIIWriter
 public ASCIIWriter(String fileName,
                    boolean append) throws IOException

Methods

 o setDelimiter
 public void setDelimiter(String delimiter)
set delimiter

 o writeAnnotation
 public void writeAnnotation(String annotation) throws IOException
write annotation into the ASCII file

 o write2DData
 public void write2DData(String format,
                         String name,
                         int rank,
                         Dimension d,
                         int dataType,
                         Object data) throws IOException
write 2D data

 o 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