|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wisc.ssec.mcidas.AreaDirectoryList
public class AreaDirectoryList
AreaDirectoryList interface for McIDAS 'area' file format image data. Provides access to a list of one or more AreaDirectoy objects.
Constructor Summary | |
---|---|
AreaDirectoryList(java.lang.String imageSource)
creates an AreaDirectory object that allows reading of McIDAS 'area' file format image data. |
|
AreaDirectoryList(java.net.URL url)
creates an AreaDirectory object that allows reading of the directory of McIDAS 'area' files from a URL |
Method Summary | |
---|---|
java.util.ArrayList |
getDirs()
returns the directory blocks for the requested images. |
AreaDirectory[][] |
getSortedDirs()
returns the directory blocks for the requested images, sorted into an array of AreaDirectories by time and then bands as the second dimenison, if multiple directories with the same ADDE position number are returned. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
toString()
Prints out a formatted listing of the directory info |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AreaDirectoryList(java.lang.String imageSource) throws AreaFileException
imageSource
- the file name or ADDE URL to read from
AreaFileException
- if file cannot be openedpublic AreaDirectoryList(java.net.URL url) throws AreaFileException
URL
- - the URL to go after
AreaFileException
- if file cannot be openedMethod Detail |
---|
public AreaDirectory[][] getSortedDirs() throws AreaFileException
AreaFileException
public java.util.ArrayList getDirs() throws AreaFileException
AreaFileException
- if there was a problem
reading the directorypublic java.lang.String toString()
toString
in class java.lang.Object
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |