Class AsciiWriter

java.lang.Object
opendap.servlet.AsciiWriter

public class AsciiWriter extends Object
Class Description.
  • 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 - 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:
      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)