dods.servlet
Class dodsASCII

java.lang.Object
  extended by dods.servlet.dodsASCII

public class dodsASCII
extends Object

Default handler for DODS ascii requests. This class is used by DODSServlet. This code exists as a seperate class in order to alleviate code bloat in the DODSServlet class. As such, it contains virtually no state, just behaviors.

Author:
Nathan David Potter

Constructor Summary
dodsASCII()
           
 
Method Summary
 void sendASCII(HttpServletRequest request, HttpServletResponse response, String dataSet)
          Default handler for DODS ascii requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dodsASCII

public dodsASCII()
Method Detail

sendASCII

public void sendASCII(HttpServletRequest request,
                      HttpServletResponse response,
                      String dataSet)
               throws DODSException,
                      ParseException
Default handler for DODS ascii requests. Returns DODS data in comma delimited ascii columns for ingestion into some not so DODS enabled application such as MS-Excel. Accepts constraint expressions in exactly the same way as the regular DODS dataserver.

Parameters:
dServ - The DODSServlet object containing the correct getDDS(), getDAS), and getServerName() methods for the dataSet.
Throws:
DODSException
ParseException