Package org.apache.ofbiz.entity.util
Class ByteWrapper
- java.lang.Object
-
- org.apache.ofbiz.entity.util.ByteWrapper
-
- All Implemented Interfaces:
java.io.Serializable
@Deprecated public class ByteWrapper extends java.lang.Object implements java.io.Serializable
Deprecated.NOTE DEJ20071022: deprecating this because we want to save the byte[] directly instead of inside a serialized object, which makes it hard for other apps to use the data, and causes problems if this object is ever updated A very simple class to wrap a byte array for persistence.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
bytes
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
ByteWrapper()
Deprecated.ByteWrapper(byte[] bytes)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte
getByte(int pos)
Deprecated.byte[]
getBytes()
Deprecated.int
getLength()
Deprecated.
-