Package opendap.servlet
Class AsciiWriter
java.lang.Object
opendap.servlet.AsciiWriter
Class Description.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidshowPrimitive(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)
-
Constructor Details
-
AsciiWriter
public AsciiWriter()
-
-
Method Details
-
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
-
showPrimitive
public void showPrimitive(opendap.dap.BaseType data, PrintWriter pw, boolean addName, String rootName, boolean newLine)
-