| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.data.FileAccessor
visad.data.dods.SequenceVariableAdapter.SequenceAccessor
protected class SequenceVariableAdapter.SequenceAccessor
Provides support for accessing a DODS DSequence as a VisAD FileFlatField.
 
Instances are immutable.
| Constructor Summary | |
|---|---|
| SequenceVariableAdapter.SequenceAccessor(SampledSet domain,
                                         dods.dap.DSequence sequence)Constructs from a domain and a DODS DSequence. | |
| Method Summary | |
|---|---|
|  FlatField | getFlatField()Returns a VisAD FlatFieldcorresponding to this instance. | 
|  FunctionType | getFunctionType() | 
|  double[][] | readFlatField(FlatField template,
              int[] fileLocation)Throws a VisADError. | 
|  void | writeFile(int[] fileLocation,
          Data range)Throws a VisADError. | 
|  void | writeFlatField(double[][] values,
               FlatField template,
               int[] fileLocation)Throws a VisADError. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SequenceVariableAdapter.SequenceAccessor(SampledSet domain,
                                                dods.dap.DSequence sequence)
DSequence.
domain - The domain for the FileFlatField.sequence - The DODS variable.| Method Detail | 
|---|
public FunctionType getFunctionType()
getFunctionType in class FileAccessor
public FlatField getFlatField()
                       throws VisADException,
                              RemoteException
FlatField corresponding to this instance.
getFlatField in class FileAccessorVisADException - VisAD failure.
RemoteException - Java RMI failure.
public void writeFlatField(double[][] values,
                           FlatField template,
                           int[] fileLocation)
writeFlatField in class FileAccessorvalues - Some values.template - A template FlatField.fileLocation - An array of positional parameters.
VisADError - This method does nothing and should not
                                have been invoked.  Always thrown.
public double[][] readFlatField(FlatField template,
                                int[] fileLocation)
readFlatField in class FileAccessortemplate - A template FlatField.fileLocation - An array of positional parameters.
null.
VisADError - This method does nothing and should not
                                have been invoked.  Always thrown.
public void writeFile(int[] fileLocation,
                      Data range)
writeFile in class FileAccessorfileLocation - An array of positional parameters.range - The range of a FlatField.
VisADError - This method does nothing and should not
                                have been invoked.  Always thrown.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||