org.apache.commons.convert
Class MiscConverters.BlobToByteArray
java.lang.Object
org.apache.commons.convert.AbstractConverter<Blob,byte[]>
org.apache.commons.convert.MiscConverters.BlobToByteArray
- All Implemented Interfaces:
- Converter<Blob,byte[]>, ConverterLoader
- Enclosing class:
- MiscConverters
public static class MiscConverters.BlobToByteArray
- extends AbstractConverter<Blob,byte[]>
An object that converts a java.sql.Blob
to a
byte array.
Method Summary |
byte[] |
convert(Blob obj)
Converts obj to T . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MiscConverters.BlobToByteArray
public MiscConverters.BlobToByteArray()
convert
public byte[] convert(Blob 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.