@ForUseOnly public interface Image<S>
Modifier and Type | Interface and Description |
---|---|
static class |
Image.Consumer<O>
An abstract consumer type providing an "extensible interface" to consume available sources of images.
|
static class |
Image.ConsumptionException
Exception wrapper to forward checked exceptions from within the consumption process.
|
Modifier and Type | Method and Description |
---|---|
S |
getSource()
Provides the source this image is build upon.
|
<O> O |
supply(Image.Consumer<O> consumer)
Supply the image to the given consumer.
|
S getSource()
@Nullable <O> O supply(@NotNull Image.Consumer<O> consumer) throws Image.ConsumptionException
consumer
- The consumer to be serviced.Image.ConsumptionException
- if used by the implemented consumer to wrap some exception.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210