visad.data.biorad
Class BioRadCachingForm

java.lang.Object
  extended by visad.data.FormNode
      extended by visad.data.Form
          extended by visad.data.biorad.BioRadForm
              extended by visad.data.biorad.BioRadCachingForm
All Implemented Interfaces:
FormFileInformer

public class BioRadCachingForm
extends BioRadForm

BioRadCachingForm is the VisAD data format adapter for large Bio-Rad .PIC files which may not fit in memory.


Field Summary
 
Fields inherited from class visad.data.Form
mathType
 
Constructor Summary
BioRadCachingForm()
           
 
Method Summary
static void main(java.lang.String[] args)
          Run 'java visad.data.biorad.BioRadCachingForm in_file out_file' to convert in_file to out_file in BioRad .PIC data format.
 DataImpl open(java.lang.String id)
          Opens an existing large BioRad .PIC file from the given location, caching the data where possible.
 DataImpl open(java.net.URL url)
          URLs cannot be cached, so this method throws a VisADException
 
Methods inherited from class visad.data.biorad.BioRadForm
add, getDefaultSuffixes, getForms, isThisType, isThisType, 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

BioRadCachingForm

public BioRadCachingForm()
Method Detail

open

public DataImpl open(java.lang.String id)
              throws BadFormException,
                     java.io.IOException,
                     VisADException
Opens an existing large BioRad .PIC file from the given location, caching the data where possible.

Overrides:
open in class BioRadForm
Returns:
VisAD Data object containing BioRad data.
Throws:
BadFormException
java.io.IOException
VisADException

open

public DataImpl open(java.net.URL url)
              throws BadFormException,
                     VisADException,
                     java.io.IOException
URLs cannot be cached, so this method throws a VisADException

Overrides:
open in class BioRadForm
Returns:
VisAD Data object containing BioRad data.
Throws:
VisADException - because URLs cannot be cached.
BadFormException
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws VisADException,
                        java.rmi.RemoteException,
                        java.io.IOException
Run 'java visad.data.biorad.BioRadCachingForm in_file out_file' to convert in_file to out_file in BioRad .PIC data format.

Throws:
VisADException
java.rmi.RemoteException
java.io.IOException