Documentation of 'visad.data.in.TimeFactorer' Java class
TimeFactorer
visad.data.in

Class TimeFactorer

  • All Implemented Interfaces:
    DataInputStream


    public class TimeFactorer
    extends DataInputFilter
    Converts incoming VisAD Fields whose outermost dimension is time and can be factored out into a field-of-fields. Sends the field-of-fields to the downstream data sink. Passes all other VisAD data objects to the downstream data sink unchanged.

    Instances are immutable.

    • Constructor Summary

      Constructors 
      Constructor and Description
      TimeFactorer(DataInputStream source)
      Constructs from a upstream data source.
    • Constructor Detail

      • TimeFactorer

        public TimeFactorer(DataInputStream source)
                     throws VisADException
        Constructs from a upstream data source.
        Parameters:
        source - The upstream data source. May not be null.
        Throws:
        VisADException - The upstream data source is null.
    • Method Detail

      • readData

        public DataImpl readData()
                          throws VisADException,
                                 java.rmi.RemoteException
        Returns the next VisAD data object in the input stream. If the next object is a field and the field's outermost dimension is time and can be factored out, then the field will be converted into a field-of-fields (with time as the single dimension of the outermost field) before being returned. Returns null if there are no more objects.
        Returns:
        A VisAD data object or null if there are no more such objects.
        Throws:
        VisADException - VisAD failure.
        java.rmi.RemoteException - Java RMI failure.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.