public class ThemedURLTranslator extends ClassPathIntrospector
| Constructor and Description |
|---|
ThemedURLTranslator(Function<String,File> fileFactory,
ClassPathIntrospector otherIntrospector)
Creates a new translator instance using the provided
fileFactory
which produces the File on the filesystem by the URL and some
otherIntrospector to use its reflections tools. |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
applyTheme(Set<String> urls)
Applies theme to the
urls collection. |
doInvokeAnnotationMethod, getAnnotatedClasses, invokeAnnotationMethod, loadClassInProjectClassLoaderpublic ThemedURLTranslator(Function<String,File> fileFactory, ClassPathIntrospector otherIntrospector)
fileFactory
which produces the File on the filesystem by the URL and some
otherIntrospector to use its reflections tools.fileFactory - file factory to produce a file on the filesystem by the given
URLotherIntrospector - another introspector whose reflection tools will be reused to
find the themeCopyright © 2025. All rights reserved.