Companion

object Companion

Functions

Link copied to clipboard

returns a list of all available tokenizer names from context classpath

Link copied to clipboard
fun findSPIName(serviceClass: KClass<out TokenizerFactory>): String

looks up a SPI name for the specified tokenizer factory

Link copied to clipboard

looks up a tokenizer by name from context classpath

Link copied to clipboard

looks up a tokenizer class by name from context classpath

Link copied to clipboard
fun reloadTokenizers(classloader: ClassLoader)

Reloads the factory list from the given ClassLoader. Changes to the factories are visible after the method ends, all iterators (.availableTokenizers,...) stay consistent.