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