public interface DownsamplerSpiRegistry
Modifier and Type | Method and Description |
---|---|
boolean |
addDownsamplerSpi(DownsamplerSpi downsamplerSpi)
Adds the given
downsamplerSpi to this registry. |
boolean |
addDownsamplerSpi(String downsamplerAlias,
DownsamplerSpi downsamplerSpi)
Adds the given
downsamplerSpi to this registry. |
Set |
getAliases()
Gets a set of all aliases
|
DownsamplerSpi |
getDownsamplerSpi(String alias)
Gets a registered upsampler SPI.
|
Set<DownsamplerSpi> |
getDownsamplerSpis() |
ServiceRegistry<DownsamplerSpi> |
getServiceRegistry()
Gets the
ServiceRegistry |
void |
loadDownsamplerSpis()
Loads the SPIs defined in
META-INF/services . |
boolean |
removeDownsamplerSpi(DownsamplerSpi downsamplerSpi)
Removes the given
downsamplerSpi this registry. |
void loadDownsamplerSpis()
META-INF/services
.Set<DownsamplerSpi> getDownsamplerSpis()
ServiceRegistry<DownsamplerSpi> getServiceRegistry()
ServiceRegistry
service registry
DownsamplerSpi getDownsamplerSpi(String alias)
alias
- a name identifying the upsampler SPI.null
boolean addDownsamplerSpi(DownsamplerSpi downsamplerSpi)
downsamplerSpi
to this registry.downsamplerSpi
- the SPI to addtrue
, if the DownsamplerSpi
could be successfully added, otherwise false
boolean addDownsamplerSpi(String downsamplerAlias, DownsamplerSpi downsamplerSpi)
downsamplerSpi
to this registry.(downsamplerAlias)
- name used as key for the registration.downsamplerSpi
- the SPI to addtrue
, if the DownsamplerSpi
could be successfully added, otherwise false
boolean removeDownsamplerSpi(DownsamplerSpi downsamplerSpi)
downsamplerSpi
this registry.downsamplerSpi
- the SPI to removetrue
, if the SPI could be removed, otherwise false
Set getAliases()
Copyright © 2014–2022 European Space Agency (ESA). All rights reserved.