Package de.mhus.lib.core.pojo
Class ObjectWrapperPojo<T>
- java.lang.Object
-
- de.mhus.lib.core.pojo.ObjectWrapperPojo<T>
-
public class ObjectWrapperPojo<T> extends Object
-
-
Constructor Summary
Constructors Constructor Description ObjectWrapperPojo()ObjectWrapperPojo(T object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getContent()TpojoGetObject()TpojoGetObject(ClassLoader classLoader)voidpojoSetObject(T object)voidsetContent(byte[] stream)
-
-
-
Constructor Detail
-
ObjectWrapperPojo
public ObjectWrapperPojo()
-
ObjectWrapperPojo
public ObjectWrapperPojo(T object)
-
-
Method Detail
-
pojoGetObject
public T pojoGetObject() throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
pojoGetObject
public T pojoGetObject(ClassLoader classLoader) throws IOException, ClassNotFoundException
- Throws:
IOExceptionClassNotFoundException
-
pojoSetObject
public void pojoSetObject(T object)
-
getContent
public byte[] getContent() throws IOException- Throws:
IOException
-
setContent
public void setContent(byte[] stream)
-
-