|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.ifs.fdk.ClientUtils
Utilities for the client side of Web Services, but they can also be used by in-process callers.
Method Summary | |
static java.lang.String |
fdkExceptionEntryToString(FdkExceptionEntry fdkee) Returns a String representation of a FdkExceptionEntry, suitable for detail logging. |
static java.lang.String |
fdkExceptionToString(FdkException fdke, boolean includeStackTrace) Returns a String representation of a FdkException, suitable for detail logging. |
static java.lang.String |
itemToString(Item item) Returns a String representation of an Item. |
static NamedValue[] |
mapToNamedValues(java.util.Map map) Converts an Map of named values to NamedValue[]. |
static java.util.Map |
namedValuesToMap(NamedValue[] namedValues) Converts a NamedValue[] to a Map for easy access. |
static java.lang.String |
namedValueToString(NamedValue nv) Returns a String representation of a NamedValue. |
static java.lang.String |
stackTraceToString(java.lang.Throwable t) Converts an exception stack trace to a String. |
static java.lang.String |
toString(java.lang.Object o) Returns a String representation of any Object, with special handling for known objects such as Item, NamedValue, FdkException, FdkExceptionEntry, etc. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static final java.lang.String fdkExceptionEntryToString(FdkExceptionEntry fdkee)
fdkee
- Entry to convert to String.public static final java.lang.String fdkExceptionToString(FdkException fdke, boolean includeStackTrace)
fdke
- Exception to convert to String.includeStackTrace
- Whether to include the stack trace of the exception in the returned String.public static final java.lang.String itemToString(Item item)
item
- Item to convert to String.public static final NamedValue[] mapToNamedValues(java.util.Map map)
map
- The Map to convert. The keys in the map must be of type String
. An empty map will result in a zero-length NamedValue[] and a null
map will result into a null
return value.public static final java.util.Map namedValuesToMap(NamedValue[] namedValues)
String
.namedValues
- The NamedValue[] to convert. A zero-length array will result into an empty map and a null
array will result into a null
return value.public static final java.lang.String namedValueToString(NamedValue nv)
nv
- NamedValue to convert to String.public static final java.lang.String stackTraceToString(java.lang.Throwable t)
t
- The exception to convert.public static final java.lang.String toString(java.lang.Object o)
o
- Object to convert to a String.
|
Oracle® Content Services Web Services Java API Reference 10g Release 1 (10.1.1) B19047-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |