org.ofbiz.entity.util
Class ByteWrapper

java.lang.Object
  extended by org.ofbiz.entity.util.ByteWrapper
All Implemented Interfaces:
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.

public class ByteWrapper
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  byte[] bytes
          Deprecated.  
 
Constructor Summary
protected ByteWrapper()
          Deprecated.  
  ByteWrapper(byte[] bytes)
          Deprecated.  
 
Method Summary
 byte getByte(int pos)
          Deprecated.  
 byte[] getBytes()
          Deprecated.  
 int getLength()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bytes

protected byte[] bytes
Deprecated. 
Constructor Detail

ByteWrapper

protected ByteWrapper()
Deprecated. 

ByteWrapper

public ByteWrapper(byte[] bytes)
Deprecated. 
Method Detail

getBytes

public byte[] getBytes()
Deprecated. 

getByte

public byte getByte(int pos)
Deprecated. 

getLength

public int getLength()
Deprecated.