org.apache.camel.component.mina
Class MinaConverter
java.lang.Object
org.apache.camel.component.mina.MinaConverter
@Converter
public final class MinaConverter
- extends Object
A set of converter methods for working with MINA types
- Version:
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
toByteArray
@Converter
public static byte[] toByteArray(org.apache.mina.common.ByteBuffer buffer)
toString
@Converter
public static String toString(org.apache.mina.common.ByteBuffer buffer,
org.apache.camel.Exchange exchange)
toInputStream
@Converter
public static InputStream toInputStream(org.apache.mina.common.ByteBuffer buffer)
toObjectInput
@Converter
public static ObjectInput toObjectInput(org.apache.mina.common.ByteBuffer buffer)
throws IOException
- Throws:
IOException
toByteBuffer
@Converter
public static org.apache.mina.common.ByteBuffer toByteBuffer(byte[] bytes)
Apache Camel