|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttoolbox.oracle.xpath.ext.OSBExtensionFunctions
public class OSBExtensionFunctions
Contains various extension functions that can be used in Oracle Service Bus.
| Method Summary | |
|---|---|
static java.lang.Long |
currentDateTimeToMillisOSBImpl()
Return the current time in milliseconds. |
static java.lang.Long |
dateTimeToMillisOSBImpl(java.lang.String dateStr)
Return the provided XSD dateTime value in milliseconds. |
static java.lang.String |
digestOSBImpl(java.lang.String message,
java.lang.String algorithm,
java.lang.String output)
Perform a one-way hash on the given string and return either a hexadecimal or base64 representation of the hash. |
static java.lang.String |
getSystemPropertyOSBImpl(java.lang.String property,
java.lang.String defaultVal)
Return the named Java System Property. |
static java.lang.String |
maskOSBImpl(java.lang.String input,
java.lang.String mode,
java.lang.String maskChar,
java.lang.Integer count)
Perform simple String masking operations. |
static java.lang.String |
millisToDateTimeOSBImpl(java.lang.Long time)
Convert the given milliseconds value into a valid XSD dateTime string. |
static java.lang.String |
parseDateTimeOSBImpl(java.lang.String dateStr,
java.lang.String format,
java.lang.String output)
Convert (parse) the given string into a valid XSD dateTime string using the provided format string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.lang.String getSystemPropertyOSBImpl(java.lang.String property,
java.lang.String defaultVal)
property - String containing the name of the property that must
be returned.defaultVal - String containing a default value if the property
does not exist.
public static java.lang.String digestOSBImpl(java.lang.String message,
java.lang.String algorithm,
java.lang.String output)
message - String containing the message to perform the hash on.algorithm - String indicating which digest algorithm to use.output - HEX or BASE64.
public static java.lang.String maskOSBImpl(java.lang.String input,
java.lang.String mode,
java.lang.String maskChar,
java.lang.Integer count)
This method can perform three types of masking operations:
input - String containing the data that must be masked.mode - String indicating the masking mode: first, last, all.maskChar - String containing the masking character.count - An int indicating the character count.
public static java.lang.Long currentDateTimeToMillisOSBImpl()
public static java.lang.Long dateTimeToMillisOSBImpl(java.lang.String dateStr)
dateStr - Sting containing a valid XSD dateTime value.
public static java.lang.String millisToDateTimeOSBImpl(java.lang.Long time)
time - Long value that represents a time stamp.
public static java.lang.String parseDateTimeOSBImpl(java.lang.String dateStr,
java.lang.String format,
java.lang.String output)
dateStr - String containing the XSD dateTime value to parse.format - A valid java.text.SimpleDateFormat pattern.output - String indicating which part of the dateTime must
returned. date|time|datetime.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||