public static class TLcdS57CatalogueDataSource.Builder<B extends TLcdS57CatalogueDataSource.Builder<B>> extends Object
A builder for creating TLcdS57CatalogueDataSource
data sources.
Use TLcdS57CatalogueDataSource.newBuilder()
to create an instance of this class.
Modifier and Type | Method and Description |
---|---|
B |
addCatalogue(String aSource)
Adds the given catalogue source to the list of catalogue sources in this data source.
|
B |
addCatalogues(String... aCatalogueSources)
Adds the given catalogue sources to the list of catalogue sources in this data source.
|
B |
addCell(String aCellSource)
Adds the given cell source to the list of cell sources in this data source.
|
B |
addCells(String... aCellSources)
Adds the given cell sources to the list of cell sources in this data source.
|
TLcdS57CatalogueDataSource |
build()
Builds the
TLcdS57CatalogueDataSource . |
B |
id(String aId)
Sets an (optional) unique identifier of this catalogue data source.
|
public TLcdS57CatalogueDataSource build()
TLcdS57CatalogueDataSource
.TLcdS57CatalogueDataSource
public B id(String aId)
aId
- a unique identifier for this catalogue ate source.public B addCatalogue(String aSource)
aSource
- the source of an S-57 catalogue to be decoded as part of this data source.public B addCatalogues(String... aCatalogueSources)
aCatalogueSources
- the sources of S-57 catalogues to be decoded as part of this data source.public B addCell(String aCellSource)
aCellSource
- the source of the S-57 cell base or update file to be decoded as part of this data source.public B addCells(String... aCellSources)
aCellSources
- the source of the S-57 cell base or update file to be decoded as part of this data source.