dods.servers.ascii
Interface toASCII

All Known Implementing Classes:
asciiArray, asciiBool, asciiByte, asciiF32, asciiF64, asciiGrid, asciiI16, asciiI32, asciiList, asciiSeq, asciiString, asciiStructure, asciiUI16, asciiUI32, asciiURL

public interface toASCII


Method Summary
 void toASCII(PrintWriter pw, boolean addName, String rootName, boolean newLine)
          Returns a string representation of the variables value.
 String toASCIIAddRootName(PrintWriter pw, boolean addName, String rootName)
           
 String toASCIIFlatName(String rootName)
           
 

Method Detail

toASCII

void toASCII(PrintWriter pw,
             boolean addName,
             String rootName,
             boolean newLine)
Returns a string representation of the variables value. This is really foreshadowing functionality for Server types, but as it may come in useful for clients it is added here. Simple types (example: DFloat32) will return a single value. DConstuctor and DVector types will be flattened. DStrings and DURL's will have double quotes around them.


toASCIIAddRootName

String toASCIIAddRootName(PrintWriter pw,
                          boolean addName,
                          String rootName)

toASCIIFlatName

String toASCIIFlatName(String rootName)