|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.castor.cpa.persistence.convertor.AbstractTypeConvertor
org.castor.cpa.persistence.convertor.AbstractLobTypeConvertor
org.castor.cpa.persistence.convertor.InputStreamToSerializable
public final class InputStreamToSerializable
Convert InputStream
to Serializable
.
Because Serializable need the right ClassLoader when serializing, we convert
to byte[] or InputStream and vice-versa.
Constructor Summary | |
---|---|
InputStreamToSerializable()
Default constructor. |
Method Summary | |
---|---|
java.lang.Object |
convert(java.lang.Object object)
Convert the object from one type to another. |
Methods inherited from class org.castor.cpa.persistence.convertor.AbstractLobTypeConvertor |
---|
configure, getLobBufferSize, parameterize |
Methods inherited from class org.castor.cpa.persistence.convertor.AbstractTypeConvertor |
---|
clone, fromType, toString, toType |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InputStreamToSerializable()
Method Detail |
---|
public java.lang.Object convert(java.lang.Object object)
object
- The object to convert.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |