Package org.silverpeas.core.template
Class SilverpeasStringTemplateUtil
- java.lang.Object
-
- org.silverpeas.core.template.SilverpeasStringTemplateUtil
-
public class SilverpeasStringTemplateUtil extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
customComponentsDir
static String
customCoreDir
static String
defaultComponentsDir
static String
defaultCoreDir
-
Constructor Summary
Constructors Constructor Description SilverpeasStringTemplateUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isComponentTemplateExist(String rootPath, String template)
Is the specified template exists in the component templates home directory.
-
-
-
Method Detail
-
isComponentTemplateExist
public static boolean isComponentTemplateExist(String rootPath, String template)
Is the specified template exists in the component templates home directory.- Parameters:
rootPath
- the root path into components of the template file.template
- the name of the template to check the existence (without the language and without the extension).- Returns:
- true if the specified template exist for the specified Silverpeas component in the component templates home directory. False otherwise.
-
-