Package thredds.server.opendap.servlet
Class AsciiWriter
- java.lang.Object
-
- thredds.server.opendap.servlet.AsciiWriter
-
public class AsciiWriter extends Object
Class Description.
-
-
Constructor Summary
Constructors Constructor Description AsciiWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidshowPrimitive(opendap.dap.BaseType data, PrintWriter pw, boolean addName, String rootName, boolean newLine)voidtoASCII(PrintWriter pw, opendap.dap.DDS dds, Object specialO)voidtoASCII(opendap.dap.BaseType dtype, PrintWriter pw)
-
-
-
Method Detail
-
toASCII
public void toASCII(PrintWriter pw, opendap.dap.DDS dds, Object specialO) throws opendap.dap.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- ThisObjectis 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 anull.- Throws:
opendap.dap.NoSuchVariableException- When a variable can't be found.IOException- When data can't be read.
-
toASCII
public void toASCII(opendap.dap.BaseType dtype, PrintWriter pw)
-
showPrimitive
public void showPrimitive(opendap.dap.BaseType data, PrintWriter pw, boolean addName, String rootName, boolean newLine)
-
-