com.opensymphony.util
Class Data

java.lang.Object
  extended bycom.opensymphony.util.Data
All Implemented Interfaces:
Serializable

public final class Data
extends Object
implements Serializable

Convenience object for wrapping data stored in a byte array.

Version:
$Revision: 1.1.1.1 $
Author:
Joe Walnes
See Also:
Serialized Form

Constructor Summary
Data()
           
Data(byte[] bytes)
           
 
Method Summary
 byte[] getBytes()
           
 void setBytes(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Data

public Data()

Data

public Data(byte[] bytes)
Method Detail

setBytes

public void setBytes(byte[] bytes)

getBytes

public byte[] getBytes()

OSCore Project Page