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.
TLcdASTERIXModelDecoder.decodeSource(com.luciad.model.ILcdDataSource)
Constructor and Description |
---|
TLcdASTERIXDataSource(List<String> aSourceNames)
Creates a data source object for multiple sources.
|
TLcdASTERIXDataSource(String aSourceName)
Creates a data source object for a single source.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other)
Compares the specified object with this data source for equality.
|
String |
getDescription()
Returns a string description of the data source.
|
List<String> |
getSourceNames()
Returns the list of source names configured on this data source.
|
int |
hashCode() |
String |
toString() |
public TLcdASTERIXDataSource(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(List<String> aSourceNames)
aSourceNames
- The list of sources you want to decode in one go. Must not be null
and must not
contain null
.public List<String> getSourceNames()
null
, never empty.public String getDescription()
ILcdDataSource
getDescription
in interface ILcdDataSource
public boolean equals(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.