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) |
getMathType
public boolean isThisType(String name)
FormFileInformer
isThisType
in interface FormFileInformer
isThisType
in class VisADForm
name
- name of the filepublic boolean isThisType(byte[] block)
FormFileInformer
isThisType
in interface FormFileInformer
isThisType
in class VisADForm
block
- block of bytes from filepublic String[] getDefaultSuffixes()
FormFileInformer
getDefaultSuffixes
in interface FormFileInformer
getDefaultSuffixes
in class VisADForm
public DataImpl open(URL url) throws BadFormException, VisADException
FormNode
open
in class VisADForm
BadFormException
VisADException
public DataImpl open(String id) throws BadFormException, IOException, VisADException
FormNode
open
in class VisADForm
BadFormException
IOException
VisADException
public DataImpl readData(BinaryReader rdr) throws IOException, VisADException
readData
in class VisADForm
IOException
VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.