org.iges.anagram.service
Class ASCIIDataService

java.lang.Object
  |
  +--org.iges.anagram.AbstractModule
        |
        +--org.iges.anagram.service.Service
              |
              +--org.iges.anagram.service.ASCIIDataService
All Implemented Interfaces:
Module

public class ASCIIDataService
extends Service

Provides data subsets in ASCII comma-delimited format. This service is part of the standard DODS services, however the format of its output is not specified. For compatibility reasons, it is suggested that implementations of this service match the output of the DODS netCDF server. Last modified: $Date: 2003/04/25 17:30:15 $ Revision for this file: $Revision: 1.2 $ Release name: $Name: $ Original for this file: $Source: /Users/joew/cvs/repository/gds/src/org/iges/anagram/service/ASCIIDataService.java,v $


Field Summary
 
Fields inherited from class org.iges.anagram.service.Service
enabled, moduleID, updateFormat
 
Fields inherited from class org.iges.anagram.AbstractModule
log, moduleName, parent, server
 
Constructor Summary
ASCIIDataService()
           
 
Method Summary
 void configure(Setting setting)
          Configures the module according to the settings provided.
 java.lang.String getServiceName()
          Returns the name of this service.
 void handle(ClientRequest clientRequest)
          Handles a request from the main dispatching servlet
 
Methods inherited from class org.iges.anagram.service.Service
getBaseURL, getDataFromPath, getModuleID, isEnabled, printFooter, printHeader, setEnabled, startHTML
 
Methods inherited from class org.iges.anagram.AbstractModule
configModule, debug, debug, error, fail, fail, fail, getModuleName, info, init, toString, verbose, verbose
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ASCIIDataService

public ASCIIDataService()
Method Detail

getServiceName

public java.lang.String getServiceName()
Description copied from class: Service
Returns the name of this service. Used to build the module ID, and to map URLs to services.

Specified by:
getServiceName in class Service

configure

public void configure(Setting setting)
Description copied from class: AbstractModule
Configures the module according to the settings provided. The server supports dynamic reconfiguration. Thus this method may be called at any time in the life of the module. If the module cannot be reconfigured, it should throw an exception.

Specified by:
configure in interface Module
Specified by:
configure in class AbstractModule

handle

public void handle(ClientRequest clientRequest)
            throws ModuleException
Handles a request from the main dispatching servlet

Specified by:
handle in class Service
Parameters:
clientRequest - The request to be handled
Throws:
ModuleException - if the service fails for any reason