Package org.fugerit.java.core.db.daogen
Class ByteArrayDataHandler
- java.lang.Object
-
- org.fugerit.java.core.db.daogen.ByteArrayDataHandler
-
public abstract class ByteArrayDataHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description ByteArrayDataHandler()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract byte[]
getData()
static ByteArrayDataHandler
newHandlerByte(byte[] data)
static ByteArrayDataHandler
newHandlerDefault(Blob b)
static ByteArrayDataHandler
newHandlerPreload(Blob b)
abstract InputStream
toInputStream()
String
toString()
-
-
-
Method Detail
-
toInputStream
public abstract InputStream toInputStream()
-
getData
public abstract byte[] getData()
-
newHandlerByte
public static ByteArrayDataHandler newHandlerByte(byte[] data) throws DAOException
- Throws:
DAOException
-
newHandlerDefault
public static ByteArrayDataHandler newHandlerDefault(Blob b) throws DAOException
- Throws:
DAOException
-
newHandlerPreload
public static ByteArrayDataHandler newHandlerPreload(Blob b) throws DAOException
- Throws:
DAOException
-
-