|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectutils.gate.cow.CowUtils
class CowUtils
Some utilities.
Property Summary | |
---|---|
static Logger |
log
Logger |
Constructor Summary | |
CowUtils()
|
Method Summary | |
---|---|
static String
|
findPluginViewsPath(String controllerClassName)
Given a plugin controller class name, find the path to that controller's views. |
static Map
|
getConfig()
Access the Grails config object. |
static List
|
getGuestLayouts(String layoutDirPath)
Given a layout directory path, this method obtains all the available gsp files that follow the convention of the layout file name (i.e. cowguest-XXX.gsp) |
static boolean
|
resourceExists(String resName)
Check if a resource (eg a GSP) file exists in the app. |
static void
|
setGuestLayoutPath()
Set up the config that deals with guest layouts. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
static Logger log
Constructor Detail |
---|
CowUtils()
Method Detail |
---|
public static String findPluginViewsPath(String controllerClassName)
public static Map getConfig()
public static List getGuestLayouts(String layoutDirPath)
public static boolean resourceExists(String resName)
public static void setGuestLayoutPath()
Groovy Documentation