|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.importexport.CmsCompatibleCheck
public class CmsCompatibleCheck
Checks path information on vfs resources.
| Field Summary | |
|---|---|
static String |
VFS_PATH_BODIES
Parameter for content body folder. |
static String |
VFS_PATH_DEFAULT_TEMPLATES
Path to content templates folder. |
static String |
VFS_PATH_DEFAULTMODULE
Parameter for default module. |
static String |
XML_CONTROL_DEFAULT_CLASS
Default class for templates. |
| Constructor Summary | |
|---|---|
CmsCompatibleCheck()
Constructor, does nothing. |
|
| Method Summary | |
|---|---|
boolean |
isTemplateCompatible(String name,
byte[] content,
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 String VFS_PATH_BODIES
public static final String VFS_PATH_DEFAULTMODULE
public static final String VFS_PATH_DEFAULT_TEMPLATES
public static final String XML_CONTROL_DEFAULT_CLASS
| Constructor Detail |
|---|
public CmsCompatibleCheck()
| Method Detail |
|---|
public boolean isTemplateCompatible(String name,
byte[] content,
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 | |||||||||