|
ColdBox Platform - LogBox Version 1.6 | ||||
| FRAMES | |||||
WEB-INF.cftags.component
logbox.system.core.util.Util
public class Util
The main ColdBox utility library filled with lots of nice goodies.
| Method Summary | |
|---|---|
void |
abortit()
Facade for cfabort |
struct |
arrayToStruct(array in)
Convert an array to struct argument notation |
void |
convertToColdBox(any family, any target)
Decorate an object as a ColdBox Family object |
void |
dumpit(any var, [boolean isAbort='false'])
Facade for cfmx dump |
string |
fileLastModified(any filename)
Get the last modified date of a file |
string |
getAbsolutePath(any path)
Turn any system path, either relative or absolute, into a fully qualified one |
any<MixerUtil> |
getMixerUtil()
Get the mixer utility |
boolean |
inThread()
Check if you are in cfthread or not for any CFML Engine |
void |
includeit(any template)
Facade for cfinclude |
boolean |
isFamilyType(any family, any target)
Checks if an object is of the passed in family type |
boolean |
isInstanceCheck(any obj, any family='')
Checks if an object is of a certain type of family via inheritance |
any |
placeHolderReplacer(any str, any settings)
PlaceHolder Replacer for strings containing ${} patterns |
void |
rethrowit(any throwObject)
Rethrow an exception |
string |
ripExtension(any filename)
Rip the extension of a filename |
any |
throwit(any message, [any detail=''], [any type='Framework'])
Facade for cfthrow |
| Methods inherited from class WEB-INF.cftags.component |
|---|
|
| Method Detail |
|---|
public void abortit()
public struct arrayToStruct(array in)
in - The array to convertpublic void convertToColdBox(any family, any target)
family - The family to covert it to: handler, plugin, interceptortarget - The target objectpublic void dumpit(any var, [boolean isAbort='false'])
varisAbort - Abort alsopublic string fileLastModified(any filename)
filenamepublic string getAbsolutePath(any path)
pathpublic any<MixerUtil> getMixerUtil()
public boolean inThread()
public void includeit(any template)
templatepublic boolean isFamilyType(any family, any target)
family - The family to covert it to: handler, plugin, interceptortarget - The target objectpublic boolean isInstanceCheck(any obj, any family='')
obj - The object to evaluatefamily - The family string to checkpublic any placeHolderReplacer(any str, any settings)
str - The string variable to look for replacementssettings - The structure of settings to use in replacingpublic void rethrowit(any throwObject)
throwObject - The exception objectpublic string ripExtension(any filename)
filenamepublic any throwit(any message, [any detail=''], [any type='Framework'])
messagedetailtype
|
ColdBox Platform - LogBox Version 1.6 | ||||
| FRAMES | |||||