visad.data.visad
Class VisADCachingForm

java.lang.Object
  extended by visad.data.FormNode
      extended by visad.data.Form
          extended by visad.data.visad.VisADForm
              extended by visad.data.visad.VisADCachingForm
All Implemented Interfaces:
FormFileInformer

public class VisADCachingForm
extends VisADForm

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
 java.lang.String[] getDefaultSuffixes()
           
 boolean isThisType(byte[] block)
           
 boolean isThisType(java.lang.String name)
           
 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.
 
Methods inherited from class visad.data.visad.VisADForm
add, getForms, main, 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

VisADCachingForm

public VisADCachingForm()
Method Detail

isThisType

public boolean isThisType(java.lang.String name)
Specified by:
isThisType in interface FormFileInformer
Overrides:
isThisType in class VisADForm

isThisType

public boolean isThisType(byte[] block)
Specified by:
isThisType in interface FormFileInformer
Overrides:
isThisType in class VisADForm

getDefaultSuffixes

public java.lang.String[] getDefaultSuffixes()
Specified by:
getDefaultSuffixes in interface FormFileInformer
Overrides:
getDefaultSuffixes in class VisADForm

open

public DataImpl open(java.net.URL url)
              throws BadFormException,
                     VisADException
Description copied from class: FormNode
Open a data object specified as a URL.

Overrides:
open in class VisADForm
Throws:
BadFormException
VisADException

open

public DataImpl open(java.lang.String id)
              throws BadFormException,
                     java.io.IOException,
                     VisADException
Description copied from class: FormNode
Open an existing data object.

Overrides:
open in class VisADForm
Throws:
BadFormException
java.io.IOException
VisADException