public final class TLcdASTERIXDataSource extends java.lang.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.
TLcdASTERIXModelDecoder.decodeSource(com.luciad.model.ILcdDataSource)
Constructor and Description |
---|
TLcdASTERIXDataSource(java.util.List<java.lang.String> aSourceNames)
Creates a data source object for multiple sources.
|
TLcdASTERIXDataSource(java.lang.String aSourceName)
Creates a data source object for a single source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other)
Compares the specified object with this data source for equality.
|
java.lang.String |
getDescription()
Returns a string description of the data source.
|
java.util.List<java.lang.String> |
getSourceNames()
Returns the list of source names configured on this data source.
|
int |
hashCode() |
java.lang.String |
toString() |
public TLcdASTERIXDataSource(java.lang.String aSourceName)
TLcdASTERIXModelDecoder.decodeSource
with
a source like this is equivalent to simply calling TLcdASTERIXModelDecoder.decode
with the
aSourceName
.aSourceName
- The source you want to decode. Must not be null
.public TLcdASTERIXDataSource(java.util.List<java.lang.String> aSourceNames)
aSourceNames
- The list of sources you want to decode in one go. Must not be null
and must not
contain null
.public java.util.List<java.lang.String> getSourceNames()
null
, never empty.public java.lang.String getDescription()
ILcdDataSource
getDescription
in interface ILcdDataSource
public boolean equals(java.lang.Object other)
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.equals
in class java.lang.Object
other
- The other object to compare this data source with. May be null
.true
if the other object is an ASTERIX data source specifying the same source names in the
same order as this data source.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object