opendap.servlet
Class AsciiWriter
java.lang.Object
opendap.servlet.AsciiWriter
public class AsciiWriter
- extends Object
Class Description.
- Version:
- $Revision$ $Date$
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsciiWriter
public AsciiWriter()
toASCII
public void toASCII(PrintWriter pw,
DDS dds,
Object specialO)
throws NoSuchVariableException,
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.
IOException
- When data can't be read.
toASCII
public void toASCII(BaseType dtype,
PrintWriter pw)
showPrimitive
public void showPrimitive(BaseType data,
PrintWriter pw,
boolean addName,
String rootName,
boolean newLine)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.