Package com.luciad.format.asterix
Class TLcdASTERIXDataSource
java.lang.Object
com.luciad.format.asterix.TLcdASTERIXDataSource
- All Implemented Interfaces:
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 Summary
ConstructorsConstructorDescriptionTLcdASTERIXDataSource(String aSourceName) Creates a data source object for a single source.TLcdASTERIXDataSource(List<String> aSourceNames) Creates a data source object for multiple sources. -
Method Summary
-
Constructor Details
-
TLcdASTERIXDataSource
Creates a data source object for a single source. CallingTLcdASTERIXModelDecoder.decodeSourcewith a source like this is equivalent to simply callingTLcdASTERIXModelDecoder.decodewith theaSourceName.- Parameters:
aSourceName- The source you want to decode. Must not benull.
-
TLcdASTERIXDataSource
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 benulland must not containnull.
-
-
Method Details
-
getSourceNames
Returns the list of source names configured on this data source.- Returns:
- The list of source names. Never
null, never empty.
-
getDescription
Description copied from interface:ILcdDataSourceReturns a string description of the data source. This will typically be used in a GUI, or in error and warning messages.- Specified by:
getDescriptionin interfaceILcdDataSource- Returns:
- a String describing the data source.
-
equals
Compares the specified object with this data source for equality. Returnstrueonly if the other object is also aTLcdASTERIXDataSourceand if the other data source contains the exact same source names in the same order. -
hashCode
public int hashCode() -
toString
-