org.apache.commons.convert
Class MiscConverters.ByteBufferToByteArray
java.lang.Object
org.apache.commons.convert.AbstractConverter<ByteBuffer,byte[]>
org.apache.commons.convert.MiscConverters.ByteBufferToByteArray
- All Implemented Interfaces:
- Converter<ByteBuffer,byte[]>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.ByteBufferToByteArray
- extends AbstractConverter<ByteBuffer,byte[]>
An object that converts a ByteBuffer
to a
byte array.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.ByteBufferToByteArray
public MiscConverters.ByteBufferToByteArray()
convert
public byte[] convert(ByteBuffer obj)
throws ConversionException
- Description copied from interface:
Converter
- Converts
obj
to T
.
- Parameters:
obj
- The source Object
to convert
- Returns:
- The converted
Object
- Throws:
ConversionException
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.