Top Description Methods
javax.visrec.spi

public Interface ImageFactoryService

Imports
javax.visrec.ImageFactory, java.util.Optional

The service to locate and find implementations of the ImageFactory interface.
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public <
image type
T
>
Optional<ImageFactory<T>>

Returns:

Optional with possible ImageFactory implementation if found.
getByImageType
(Class<T>
image type in Class object which is able to be processed by the image factory implementation.
imageCls
)

Get the ImageFactory implementation by its image type.

Method Detail

getByImageTypeback to summary
public <T> Optional<ImageFactory<T>> getByImageType(Class<T> imageCls)

Get the ImageFactory implementation by its image type.

Parameters
<T>
image type
imageCls:Class<T>

image type in Class object which is able to be processed by the image factory implementation.

Returns:Optional<ImageFactory<T>>

Optional with possible ImageFactory implementation if found.