edu.wisc.ssec.mcidas.adde
Class ReadTextFile

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

public class ReadTextFile
extends java.lang.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
 


Constructor Summary
ReadTextFile(java.lang.String request)
          creates a ReadTextFile object that allows reading an ADDE text file or TEXT dataset
 
Method Summary
 java.lang.String getStatus()
           
 int getStatusCode()
           
 java.util.Vector getText()
           
static void main(java.lang.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(java.lang.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 java.lang.String getStatus()

getStatusCode

public int getStatusCode()

getText

public java.util.Vector getText()

main

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

Throws:
java.lang.Exception