|
RichFaces Core API 4.2.3.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.richfaces.resource.ResourceSkinUtils
public final class ResourceSkinUtils
Utility class for manipulation with skin dependent resources.
Method Summary | |
---|---|
static String |
evaluateSkinInPath(String path,
String skinName)
Returns path with ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER replaced with actual skinName. |
static boolean |
isSkinDependent(String path)
Returns true when path skin is dependent, it means when it contains ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER . |
static String |
prefixPathWithSkinPlaceholder(String path)
Prefix given path with ResourceFactory.SKINNED_RESOURCE_PREFIX |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean isSkinDependent(String path)
ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER
.
path
- the path
ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER
;
false otherwisepublic static String evaluateSkinInPath(String path, String skinName)
ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER
replaced with actual skinName.
path
- the path to evaluate skinskinName
- the name of the skin
ResourceFactory.SKINNED_RESOURCE_PLACEHOLDER
replaced with actual skinName.public static String prefixPathWithSkinPlaceholder(String path)
ResourceFactory.SKINNED_RESOURCE_PREFIX
path
- the path to be prefixed
ResourceFactory.SKINNED_RESOURCE_PREFIX
|
RichFaces Core API 4.2.3.CR1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |