public class ThemedURLTranslator
extends com.vaadin.flow.migration.ClassPathIntrospector
| Constructor and Description |
|---|
ThemedURLTranslator(Function<String,File> fileFactory,
com.vaadin.flow.migration.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. |
public ThemedURLTranslator(Function<String,File> fileFactory, com.vaadin.flow.migration.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 © 2026. All rights reserved.