Uses of Class
opennlp.tools.util.ext.Providers
Packages that use Providers
-
Uses of Providers in opennlp.tools.util.ext
Methods in opennlp.tools.util.ext that return ProvidersModifier and TypeMethodDescriptionLooks theprovidersof an SPI up with the thread context class loader, or with the class loader ofspiif the thread has none or if it cannot seespi.Providers.of(Class<P> spi, ClassLoader loader) Looks theprovidersof an SPI up with a class loader.Providers.of(Class<P> spi, ClassLoader loader, UnaryOperator<String> configuration) Looks theprovidersof an SPI up with a class loader and reads the configuration keys from an application's own source instead of "META-INF/opennlp/providers.properties"<P extends Provider<?>> and the system properties.Providers.of(Class<P> spi, ClassLoader loader, UnaryOperator<String> configuration, Predicate<Class<?>> trusted) Providers.ofTrusted(Class<P> spi, ClassLoader loader, Predicate<Class<?>> trusted) Looks theprovidersof an SPI up with a class loader, using only the provider classes a predicate accepts, which lets an application decide by the code source, the module or the signers of a class instead of by its name.