|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.opensagres.xdocreport.remoting.resources.domain.ResourceHelper
public class ResourceHelper
Resource Helper.
Constructor Summary | |
---|---|
ResourceHelper()
|
Method Summary | |
---|---|
static Resource |
findFieldsMetadataFromMetaInf(Resource metaInf)
Find fields metadata file from the META-INF resource (ex: META-INF/MyTemplate.fields.xml). |
static Resource |
findFieldsMetadataFromTemplate(Resource template)
Find fields metadata file from the template resource (ex: MyTemplate/META-INF/MyTemplate.fields.xml). |
static Resource |
findMetaInfFromTemplate(Resource template)
Find META-INF category from the template resource (ex: MyTemplate/META-INF). |
static String |
getResourcePath(Resource resource)
Returns the resource path of the given resource. |
static boolean |
isFieldsMetadata(Resource resource)
|
static boolean |
isFieldsMetadata(String name)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceHelper()
Method Detail |
---|
public static Resource findFieldsMetadataFromTemplate(Resource template)
template
-
public static Resource findMetaInfFromTemplate(Resource template)
template
-
public static Resource findFieldsMetadataFromMetaInf(Resource metaInf)
template
-
public static boolean isFieldsMetadata(Resource resource)
public static boolean isFieldsMetadata(String name)
public static String getResourcePath(Resource resource)
resource
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |