public class ReadTextFile
extends java.lang.Object
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 and Description |
|---|
ReadTextFile(java.lang.String request)
creates a ReadTextFile object that allows reading an ADDE
text file or TEXT dataset
|
| Modifier and Type | Method and Description |
|---|---|
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'
|
public ReadTextFile(java.lang.String request)
request - ADDE URL to read from. See class javadoc.
an example URL might look like: adde://viper/datasetinfo?group=gvar&descr=FILE=RESOLV.SRV
AddeURLException - if there are no datasets of the particular
type or there is an error reading datapublic java.lang.String getStatus()
public int getStatusCode()
public java.util.Vector getText()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception