|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.importexport.CmsCompatibleCheck
Checks path information on vfs resources.
Field Summary | |
static java.lang.String |
VFS_PATH_BODIES
Parameter for content body folder. |
static java.lang.String |
VFS_PATH_DEFAULT_TEMPLATES
Path to content templates folder. |
static java.lang.String |
VFS_PATH_DEFAULTMODULE
Parameter for default module. |
static java.lang.String |
XML_CONTROL_DEFAULT_CLASS
Default class for templates. |
Constructor Summary | |
CmsCompatibleCheck()
Constructor, does nothing. |
Method Summary | |
boolean |
isTemplateCompatible(java.lang.String name,
byte[] content,
java.lang.String type)
Checks if the resource path information fulfills the rules for template and body paths. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String VFS_PATH_BODIES
public static final java.lang.String VFS_PATH_DEFAULTMODULE
public static final java.lang.String VFS_PATH_DEFAULT_TEMPLATES
public static final java.lang.String XML_CONTROL_DEFAULT_CLASS
Constructor Detail |
public CmsCompatibleCheck()
Method Detail |
public boolean isTemplateCompatible(java.lang.String name, byte[] content, java.lang.String type)
name
- the absolute path of the resource in the VFScontent
- the content of the resource.type
- the resource type
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |