public class VisADCachingForm extends VisADForm
| Constructor and Description |
|---|
VisADCachingForm() |
| Modifier and Type | Method and Description |
|---|---|
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(String name)
Check to see if the file name might be right for this form.
|
DataImpl |
open(String id)
Open an existing data object.
|
DataImpl |
open(URL url)
Open a data object specified as a URL.
|
DataImpl |
readData(BinaryReader rdr) |
getMathTypepublic boolean isThisType(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 String[] getDefaultSuffixes()
FormFileInformergetDefaultSuffixes in interface FormFileInformergetDefaultSuffixes in class VisADFormpublic DataImpl open(URL url) throws BadFormException, VisADException
FormNodeopen in class VisADFormBadFormExceptionVisADExceptionpublic DataImpl open(String id) throws BadFormException, IOException, VisADException
FormNodeopen in class VisADFormBadFormExceptionIOExceptionVisADExceptionpublic DataImpl readData(BinaryReader rdr) throws IOException, VisADException
readData in class VisADFormIOExceptionVisADException