edu.wisc.ssec.mcidas.adde
Class ReadTextFile

java.lang.Object
  extended by edu.wisc.ssec.mcidas.adde.ReadTextFile

public class ReadTextFile
extends Object

ReadTextFile interface for McIDAS ADDE data sets.

 URLs must all have the following format   
   adde://host/text?file=filename.ext

 there can be any valid combination of the following supported keywords:

   file - name of text file on ADDE server

 the following keywords are required:

   file

 an example URL might look like:
   adde://viper/text?file=filename.ext
 

Author:
Tom Whittaker (derived from DataSetInfo by Don Murray)

Constructor Summary
ReadTextFile(String request)
          creates a ReadTextFile object that allows reading an ADDE text file or TEXT dataset
 
Method Summary
 String getStatus()
           
 int getStatusCode()
           
 Vector getText()
           
static void main(String[] args)
          test by running 'java edu.wisc.ssec.mcidas.adde.ReadTextFile'
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReadTextFile

public ReadTextFile(String request)
creates a ReadTextFile object that allows reading an ADDE text file or TEXT dataset

Parameters:
request - ADDE URL to read from. See class javadoc.
 an example URL might look like:
   adde://viper/datasetinfo?group=gvar&descr=FILE=RESOLV.SRV
 
Throws:
AddeURLException - if there are no datasets of the particular type or there is an error reading data
Method Detail

getStatus

public String getStatus()

getStatusCode

public int getStatusCode()

getText

public Vector getText()

main

public static void main(String[] args)
                 throws Exception
test by running 'java edu.wisc.ssec.mcidas.adde.ReadTextFile'

Throws:
Exception