visad.data.in
Class Consolidator
- java.lang.Object
-
- visad.data.in.DataInputFilter
-
- visad.data.in.Consolidator
-
- All Implemented Interfaces:
- DataInputStream
public final class Consolidator extends DataInputFilter
Consolidates VisAD data objects together. In general, an instance of this class will be the final module in a data-import pipe.
-
-
Constructor Summary
Constructors Constructor and Description Consolidator(DataInputStream source)Constructs with a particular upstream data source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataImplreadData()Returns the next VisAD data object in the input stream.-
Methods inherited from class visad.data.in.DataInputFilter
getSource
-
-
-
-
Constructor Detail
-
Consolidator
public Consolidator(DataInputStream source) throws VisADException
Constructs with a particular upstream data source.- Parameters:
source- The upstream data source. May not benull.- Throws:
VisADException- The upstream data source isnull.
-
-
Method Detail
-
readData
public DataImpl readData() throws VisADException, java.rmi.RemoteException
Returns the next VisAD data object in the input stream. Returnsnullif there is no next object.- Returns:
- A VisAD data object or
nullif there are no more such objects. - Throws:
VisADException- VisAD failure.java.rmi.RemoteException- Java RMI failure.
-
-
DMelt 3.0 © DataMelt by jWork.ORG