|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectto.etc.domui.util.resources.SimpleResourceFactory
public class SimpleResourceFactory
Handles all normal $xxx type resources. These either come from web files (default) or if not found there from a class resource below /resources/.
Constructor Summary | |
---|---|
SimpleResourceFactory()
|
Method Summary | |
---|---|
int |
accept(java.lang.String name)
Return a > 0 value when this factory can provide (recognises the name format) for this resource. |
IResourceRef |
getResource(DomApplication da,
java.lang.String name,
IResourceDependencyList rdl)
Create the ref for the resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleResourceFactory()
Method Detail |
---|
public int accept(java.lang.String name)
IResourceFactory
accept
in interface IResourceFactory
public IResourceRef getResource(@Nonnull DomApplication da, @Nonnull java.lang.String name, @Nonnull IResourceDependencyList rdl) throws java.lang.Exception
IResourceFactory
getResource
in interface IResourceFactory
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |