public class SimpleResourceFactory extends Object implements IResourceFactory
| Constructor and Description |
|---|
SimpleResourceFactory() |
| 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)
Create the ref for the resource.
|
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
IResourceFactorygetResource in interface IResourceFactoryExceptionCopyright © 2017 etc.to. All rights reserved.