opendap.servlet
Class AsciiWriter

java.lang.Object
  extended by opendap.servlet.AsciiWriter

public class AsciiWriter
extends java.lang.Object

Class Description.

Version:
$Revision$ $Date$
Author:
caron

Constructor Summary
AsciiWriter()
           
 
Method Summary
 void showPrimitive(BaseType data, java.io.PrintWriter pw, boolean addName, java.lang.String rootName, boolean newLine)
           
 void toASCII(BaseType dtype, java.io.PrintWriter pw)
           
 void toASCII(java.io.PrintWriter pw, DDS dds, java.lang.Object specialO)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsciiWriter

public AsciiWriter()
Method Detail

toASCII

public void toASCII(java.io.PrintWriter pw,
                    DDS dds,
                    java.lang.Object specialO)
             throws NoSuchVariableException,
                    java.io.IOException
Parameters:
pw - The PrintWirter to which output will be written.
dds - The DDS which must have it's data values displayed as ASCII text.
specialO - This Object is a goody that is used by a Server implementations to deliver important, and as yet unknown, stuff to the read method. If you don't need it, make it a null.
Throws:
NoSuchVariableException - When a variable can't be found.
java.io.IOException - When data can't be read.

toASCII

public void toASCII(BaseType dtype,
                    java.io.PrintWriter pw)

showPrimitive

public void showPrimitive(BaseType data,
                          java.io.PrintWriter pw,
                          boolean addName,
                          java.lang.String rootName,
                          boolean newLine)