public class StdIoFunctions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
kMaxCauseLoggingDepth
The max depth to follow throwable causes to when logging them.
|
static java.lang.String |
kWorkflowDebuggerLogListenerKey |
static java.lang.String |
kWorkflowFieldInfoSourceKey |
| Constructor and Description |
|---|
StdIoFunctions() |
| Modifier and Type | Method and Description |
|---|---|
static void |
alert(java.lang.Object theObject)
Deprecated.
|
static java.lang.String |
args(java.lang.String theName,
java.lang.String theDefault)
Deprecated.
|
static java.lang.String |
encodeUrl(java.lang.String theUrl)
Deprecated.
|
static void |
exit(int theCode)
This method is still being developed.
|
static java.lang.String |
generateUUID()
Creates a UUID that probably isn't that Universally Unique.
|
static java.lang.String |
getProperty(java.lang.String theName,
java.lang.String theDefault)
Retuns the system property value assocated with theName.
|
static void |
log(java.lang.Object theObject,
java.lang.Object theScriptName)
Logs a message to the workflow log file at the given level.
|
static void |
logAtLevel(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.String theLevel)
Logs a message to the workflow log file at the given level.
|
static void |
logAtLevelWithThrowable(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.String theLevel,
java.lang.Object theThrowable)
Logs a message and a throwable to the workflow log file at the given level.
|
static void |
logWithThrowable(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.Object theThrowable)
Logs a message and a throwable to the workflow log file at the info level
|
static void |
setNamespacePrefix(java.lang.String theUri,
java.lang.String thePrefix)
Deprecated.
|
static void |
sleep(int theMillis)
Sleep the thread using standard thread sleep
|
static void |
stderr(java.lang.Object theObject)
Deprecated.
|
static void |
stdout(java.lang.Object theObject)
Deprecated.
|
static boolean |
validateDate(java.lang.String theFormat,
java.lang.String theValue)
Deprecated.
|
static boolean |
validateNumber(java.lang.String theFormat,
java.lang.String theValue)
Deprecated.
|
public static final int kMaxCauseLoggingDepth
public static final java.lang.String kWorkflowDebuggerLogListenerKey
public static final java.lang.String kWorkflowFieldInfoSourceKey
public static void exit(int theCode)
theCode - the exit code.public static java.lang.String getProperty(java.lang.String theName,
java.lang.String theDefault)
theName - the system property to look for.theDefault - the default to provide if the name is not found.@Deprecated
public static java.lang.String args(java.lang.String theName,
java.lang.String theDefault)
null.theName - the name of the property.theDefault - the default value if property is not defined.null.@Deprecated public static void stdout(java.lang.Object theObject)
theObject - message to log.@Deprecated public static void stderr(java.lang.Object theObject)
theObject - message to log.public static void log(java.lang.Object theObject,
java.lang.Object theScriptName)
theObject - the message to log.theScriptName - the name of the script that is logging.public static void logWithThrowable(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.Object theThrowable)
theObject - the message to logtheScriptName - the name of the script that is loggingtheThrowable - the throwablepublic static void logAtLevel(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.String theLevel)
theObject - the message to log.theScriptName - the name of the script that is logging.theLevel - the level to log at.public static void logAtLevelWithThrowable(java.lang.Object theObject,
java.lang.Object theScriptName,
java.lang.String theLevel,
java.lang.Object theThrowable)
theObject - the message to log.theScriptName - the name of the script that is logging.theLevel - the level to log at.theThrowable - the throwable@Deprecated public static void alert(java.lang.Object theObject)
theObject - message to show.@Deprecated
public static boolean validateDate(java.lang.String theFormat,
java.lang.String theValue)
formatString is the string conforming SimpleTextFormat specification.theFormat - the format.theValue - the date value.true if string value is valid or false if not.SimpleDateFormat@Deprecated
public static boolean validateNumber(java.lang.String theFormat,
java.lang.String theValue)
formatString is the string conforming DecimalFormat specification.theFormat - the format.theValue - the number value.true if string value is valid or false if not.DecimalFormat@Deprecated public static java.lang.String encodeUrl(java.lang.String theUrl)
UTF-8 character encoding.theUrl - the URL to be encoded@Deprecated
public static void setNamespacePrefix(java.lang.String theUri,
java.lang.String thePrefix)
theUri - the URI.thePrefix - the prefix.public static java.lang.String generateUUID()
However, it is generated fast.
public static void sleep(int theMillis)
theMillis - milliseconds to sleep forCopyright © 2026 MediaBeacon, Inc. All Rights Reserved.