|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |
WEB-INF.cftags.componentcoldbox.system.extras.lightwire.util.Utility
public class Utility
A basic utility object for LightWire
Method Summary | |
---|---|
void |
abortit()
Facade for cfabort |
any |
decodeJSON(string data)
Converts data from JSON to CF format |
void |
dumpit(any var, [boolean abort='false'])
Facade for cfmx dump |
any |
placeHolderReplacer(any str, any settings)
PlaceHolder Replacer for strings containing ${} patterns |
Any |
readFile(String FileToRead)
Facade to Read a file's content |
void |
rethrowit(any throwObject)
Rethrow facade |
any |
throwit(string message, [string detail=''], [string type='Framework'])
Facade for cfthrow |
Methods inherited from class WEB-INF.cftags.component |
---|
|
Method Detail |
---|
public void abortit()
public any decodeJSON(string data)
data
- JSON Packetpublic void dumpit(any var, [boolean abort='false'])
var
abort
public any placeHolderReplacer(any str, any settings)
str
- The string variable to look for replacementssettings
- The structure of settings to use in replacingpublic Any readFile(String FileToRead)
FileToRead
- The absolute path to the file.public void rethrowit(any throwObject)
throwObject
- The cfcatch objectpublic any throwit(string message, [string detail=''], [string type='Framework'])
message
detail
type
|
ColdBox Platform Version 2.6.3 | ||||
FRAMES |