public class ByteArrayToObject extends ByteArrayToSerializable
ByteArrayToObject works in the same way as
ByteArrayToSerializable but checks if the byte array is a
serialised object and if not will return a String created from the bytes as the
returnType on the transformer.DEFAULT_TRUNCATE_LENGTH, endpoint, logger, name, returnClass, sourceTypesDEFAULT_PRIORITY_WEIGHTING, MAX_PRIORITY_WEIGHTING, MIN_PRIORITY_WEIGHTINGPHASE_NAME| Constructor and Description |
|---|
ByteArrayToObject() |
| Modifier and Type | Method and Description |
|---|---|
Object |
doTransform(Object src,
String encoding) |
getPriorityWeighting, setPriorityWeightingcheckReturnClass, generateTransformerName, getEndpoint, getName, getReturnClass, getSourceTypes, initialise, isAcceptNull, isConsumed, isIgnoreBadInput, isSourceTypeSupported, isSourceTypeSupported, registerSourceType, setEndpoint, setIgnoreBadInput, setName, setReturnClass, toString, transform, unregisterSourceTypepublic Object doTransform(Object src, String encoding) throws TransformerException
doTransform in class ByteArrayToSerializableTransformerExceptionCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.