visad.data.biorad
Class BioRadCachingForm
java.lang.Object
visad.data.FormNode
visad.data.Form
visad.data.biorad.BioRadForm
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BioRadCachingForm
public BioRadCachingForm()
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