Class TLcdASTERIXDataSource

java.lang.Object
com.luciad.format.asterix.TLcdASTERIXDataSource
All Implemented Interfaces:
ILcdDataSource

public final class TLcdASTERIXDataSource extends Object implements ILcdDataSource

TLcdASTERIXDataSource allows you to decode multiple consecutive ASTERIX files in one go. A trajectory split over multiple files is decoded as a single trajectory.

Instances of this class are immutable.

Since:
2013.0.06
See Also:
  • Constructor Details

    • TLcdASTERIXDataSource

      public TLcdASTERIXDataSource(String aSourceName)
      Creates a data source object for a single source. Calling TLcdASTERIXModelDecoder.decodeSource with a source like this is equivalent to simply calling TLcdASTERIXModelDecoder.decode with the aSourceName.
      Parameters:
      aSourceName - The source you want to decode. Must not be null.
    • TLcdASTERIXDataSource

      public TLcdASTERIXDataSource(List<String> aSourceNames)
      Creates a data source object for multiple sources. The order in which they appear in the list is the order in which they are decoded.
      Parameters:
      aSourceNames - The list of sources you want to decode in one go. Must not be null and must not contain null.
  • Method Details

    • getSourceNames

      public List<String> getSourceNames()
      Returns the list of source names configured on this data source.
      Returns:
      The list of source names. Never null, never empty.
    • getDescription

      public String getDescription()
      Description copied from interface: ILcdDataSource
      Returns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.
      Specified by:
      getDescription in interface ILcdDataSource
      Returns:
      a String describing the data source.
    • equals

      public boolean equals(Object other)
      Compares the specified object with this data source for equality. Returns true only if the other object is also a TLcdASTERIXDataSource and if the other data source contains the exact same source names in the same order.
      Overrides:
      equals in class Object
      Parameters:
      other - The other object to compare this data source with. May be null.
      Returns:
      true if the other object is an ASTERIX data source specifying the same source names in the same order as this data source.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object