|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.FormNode visad.data.Form visad.data.visad.VisADForm visad.data.visad.VisADCachingForm
public class VisADCachingForm
VisADCachingForm is the VisAD data format adapter for large binary visad.Data objects which may not fit in memory.
Field Summary |
---|
Fields inherited from class visad.data.Form |
---|
mathType |
Constructor Summary | |
---|---|
VisADCachingForm()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class visad.data.visad.VisADForm |
---|
add, getForms, main, readSerial, save, save |
Methods inherited from class visad.data.Form |
---|
getMathType |
Methods inherited from class visad.data.FormNode |
---|
getName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisADCachingForm()
Method Detail |
---|
public boolean isThisType(String name)
FormFileInformer
isThisType
in interface FormFileInformer
isThisType
in class VisADForm
name
- name of the file
public boolean isThisType(byte[] block)
FormFileInformer
isThisType
in interface FormFileInformer
isThisType
in class VisADForm
block
- block of bytes from file
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |