Package org.openxava.util
Class Photo
java.lang.Object
org.openxava.util.Photo
- All Implemented Interfaces:
Serializable
Wraps a byte array to allow store photos in
a database with no support to
byte [] o
BLOBs, but yes java.lang.Object.
Serialize object for long term persistence is discourage,
hence use this class only in extreme cases.
- Author:
- Javier Paniza
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
data
public byte[] data
-
-
Constructor Details
-
Photo
public Photo(byte[] data)
-