|
Options |
Name |
Purpose |
|
|
OpenEdge.Core.Util.Token Parse (character)
|
/* Extracts any tokens from a string, and returns them as an array of token objects
@param character The string potentially containing tokens
@return Token[] An array of tokens. May be indeterminate in size if there are no tokens. */
|
|
|
CHARACTER Resolve (character)
|
/* Resolves any tokens in the file name into appropriate values
@param character The source string
@return character The resolved string */
|
|
|
CHARACTER ResolveError (character, Error)
|
/* Resolves a ERR-based token arg, based on the type/logger name given
@param character The token argument for ${ERR.*} tokens
@param Progress.Lang.Error The error/exception to resolve
@return character The resolved string */
|
|
|
CHARACTER ResolveName (character, character)
|
/* Resolves a NAME-based token arg, based on the type/logger name given
@param character The token argument for ${NAME.*} tokens
@param character The (type) name to resolve
@return character The resolved string */
|
|
|
CHARACTER ResolveTime (character, character[12], character[12], character[7], character[7], datetime-tz)
|
/* Resolves a time-based token arg, based on the timestamp given
@param character The token argument for ${T.*} tokens
@param character[12] The long-form month names (ie January)
@param character[12] The short-form month names (ie Jan)
@param character[7] The long-form weekday names (ie Thursday)
@param character[7] The short-form weekday names (ie Thurs)
@param datetime-tz The timestamp to use to resolve the token
@return character The resolved string */
|
|
|
CHARACTER ResolveTime (character, datetime-tz)
|
/* Resolves a time-based token arg, based on the timestamp given
@param character The token argument for ${T.*} tokens
@param datetime-tz The timestamp to use to resolve the token
@return character The resolved string */
|
|
|
CHARACTER ResolveToken (character, character, Object)
|
/* Resolves a single token into appropriate values, optionally using some input context
@param character (required) The token group
@param character (optional) The token argument
@param Progress.Lang.Object (optional) Context used to resolve the token. eg a TimeStamp for times
@return character The token value. Returns the UNKNOWN value if the token cannot be resolved */
|
|
|
CHARACTER ResolveUser (character, handle)
|
/* Resolves a CP-based token arg, based on the client-principal.
It is the CALLER's responsibility to clean up the C-P object represented by this handle
@param character The token argument for ${CP.*} tokens
@param handle A user represented by a client-principal
@return character The resolved string */
|
|
|
CHARACTER SplitTokenArg (character)
|
/** Splits a .-delimited token argument into an array
@param character the token argument to return
@return character[] An array of character. If the input arg is empty/null we return a [1] array */
|