edu.wisc.ssec.mcidas.adde
Class ReadTextFile
- java.lang.Object
-
- edu.wisc.ssec.mcidas.adde.ReadTextFile
-
public class ReadTextFile extends java.lang.ObjectReadTextFile 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
Constructors Constructor and Description ReadTextFile(java.lang.String request)creates a ReadTextFile object that allows reading an ADDE text file or TEXT dataset
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetStatus()intgetStatusCode()java.util.VectorgetText()static voidmain(java.lang.String[] args)test by running 'java edu.wisc.ssec.mcidas.adde.ReadTextFile'
-
-
-
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.Exceptiontest by running 'java edu.wisc.ssec.mcidas.adde.ReadTextFile'- Throws:
java.lang.Exception
-
-
DMelt 3.0 © DataMelt by jWork.ORG