@Converter(generateLoader=true) public final class NIOConverter extends Object
Modifier and Type | Method and Description |
---|---|
static byte[] |
toByteArray(ByteBuffer buffer) |
static ByteBuffer |
toByteBuffer(byte[] data) |
static ByteBuffer |
toByteBuffer(ByteArrayOutputStream baos) |
static ByteBuffer |
toByteBuffer(Double value) |
static ByteBuffer |
toByteBuffer(File file) |
static ByteBuffer |
toByteBuffer(Float value) |
static ByteBuffer |
toByteBuffer(Integer value) |
static ByteBuffer |
toByteBuffer(Long value) |
static ByteBuffer |
toByteBuffer(Short value) |
static ByteBuffer |
toByteBuffer(String value,
org.apache.camel.Exchange exchange) |
static InputStream |
toInputStream(ByteBuffer bufferbuffer) |
static String |
toString(ByteBuffer buffer,
org.apache.camel.Exchange exchange) |
@Converter public static byte[] toByteArray(ByteBuffer buffer)
@Converter public static String toString(ByteBuffer buffer, org.apache.camel.Exchange exchange) throws IOException
IOException
@Converter public static ByteBuffer toByteBuffer(byte[] data)
@Converter public static ByteBuffer toByteBuffer(ByteArrayOutputStream baos)
@Converter public static ByteBuffer toByteBuffer(File file) throws IOException
IOException
@Converter public static ByteBuffer toByteBuffer(String value, org.apache.camel.Exchange exchange)
@Converter public static ByteBuffer toByteBuffer(Short value)
@Converter public static ByteBuffer toByteBuffer(Integer value)
@Converter public static ByteBuffer toByteBuffer(Long value)
@Converter public static ByteBuffer toByteBuffer(Float value)
@Converter public static ByteBuffer toByteBuffer(Double value)
@Converter public static InputStream toInputStream(ByteBuffer bufferbuffer)
Apache Camel