org.apache.camel.component.mina2
Class Mina2Converter
java.lang.Object
org.apache.camel.component.mina2.Mina2Converter
@Converter
public final class Mina2Converter
- extends Object
A set of converter methods for working with MINA2 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.core.buffer.IoBuffer buffer)
toString
@Converter
public static String toString(org.apache.mina.core.buffer.IoBuffer buffer,
org.apache.camel.Exchange exchange)
toInputStream
@Converter
public static InputStream toInputStream(org.apache.mina.core.buffer.IoBuffer buffer)
toObjectInput
@Converter
public static ObjectInput toObjectInput(org.apache.mina.core.buffer.IoBuffer buffer)
throws IOException
- Throws:
IOException
toIoBuffer
@Converter
public static org.apache.mina.core.buffer.IoBuffer toIoBuffer(byte[] bytes)
Apache Camel