public final class ThemeResourceFactory extends Object implements IResourceFactory
ITheme which knows how to get resources for that theme.| Constructor and Description |
|---|
ThemeResourceFactory() |
| Modifier and Type | Method and Description |
|---|---|
int |
accept(String name)
Return a > 0 value when this factory can provide (recognises the name format) for this
resource.
|
IResourceRef |
getResource(DomApplication da,
String name,
IResourceDependencyList rdl)
Get a resource from the proper theme.
|
static String[] |
splitThemeURL(String name) |
public static final String PREFIX
public int accept(@Nonnull String name)
IResourceFactoryaccept in interface IResourceFactory@Nonnull public IResourceRef getResource(@Nonnull DomApplication da, @Nonnull String name, @Nonnull IResourceDependencyList rdl) throws Exception
getResource in interface IResourceFactoryExceptionCopyright © 2017 etc.to. All rights reserved.