public class VisADCachingForm extends VisADForm
| Constructor and Description |
|---|
VisADCachingForm() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getDefaultSuffixes()
Get default suffixes for files/URLs handeled by this form.
|
boolean |
isThisType(byte[] block)
Check to see if the block contains the magic number for this form.
|
boolean |
isThisType(java.lang.String name)
Check to see if the file name might be right for this form.
|
DataImpl |
open(java.lang.String id)
Open an existing data object.
|
DataImpl |
open(java.net.URL url)
Open a data object specified as a URL.
|
DataImpl |
readData(BinaryReader rdr) |
getMathTypepublic boolean isThisType(java.lang.String name)
FormFileInformerisThisType in interface FormFileInformerisThisType in class VisADFormname - name of the filepublic boolean isThisType(byte[] block)
FormFileInformerisThisType in interface FormFileInformerisThisType in class VisADFormblock - block of bytes from filepublic java.lang.String[] getDefaultSuffixes()
FormFileInformergetDefaultSuffixes in interface FormFileInformergetDefaultSuffixes in class VisADFormpublic DataImpl open(java.net.URL url) throws BadFormException, VisADException
FormNodeopen in class VisADFormBadFormExceptionVisADExceptionpublic DataImpl open(java.lang.String id) throws BadFormException, java.io.IOException, VisADException
FormNodeopen in class VisADFormBadFormExceptionjava.io.IOExceptionVisADExceptionpublic DataImpl readData(BinaryReader rdr) throws java.io.IOException, VisADException
readData in class VisADFormjava.io.IOExceptionVisADException