Class HelperUtils
- java.lang.Object
-
- com.terminalfour.publish.handlebars.helper.HelperUtils
-
public class HelperUtils extends Object
This class contains utility methods, mainly to enable quick access to the Publish API.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPublishAPI
getAPI()
static IContentAPI
getContentAPI()
static IElementAPI
getElementAPI()
static IFileAPI
getFileAPI()
static IJsonAPI
getJsonAPI()
static IPageAPI
getPageAPI()
static ISectionAPI
getSectionAPI()
static boolean
isDebugEnabled(com.github.jknack.handlebars.Options options)
static boolean
parseBoolean(Object in, boolean def)
static int
parseInt(Object in, int def)
-
-
-
Method Detail
-
getAPI
public static IPublishAPI getAPI()
-
getSectionAPI
public static ISectionAPI getSectionAPI()
-
getContentAPI
public static IContentAPI getContentAPI()
-
getElementAPI
public static IElementAPI getElementAPI()
-
getFileAPI
public static IFileAPI getFileAPI()
-
getPageAPI
public static IPageAPI getPageAPI()
-
getJsonAPI
public static IJsonAPI getJsonAPI()
-
parseInt
public static int parseInt(Object in, int def)
-
parseBoolean
public static boolean parseBoolean(Object in, boolean def)
-
isDebugEnabled
public static boolean isDebugEnabled(com.github.jknack.handlebars.Options options)
-
-