org.persvr.data
Class BinaryData

java.lang.Object
  extended by org.persvr.data.BinaryData

public class BinaryData
extends java.lang.Object


Constructor Summary
BinaryData(byte[] bytes)
           
BinaryData(java.io.InputStream stream)
           
 
Method Summary
static byte[] convertBytes(java.io.InputStream in)
           
 byte[] getBytes()
          Deprecated. 
 java.io.InputStream getStream()
           
 void writeTo(java.io.OutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryData

public BinaryData(java.io.InputStream stream)

BinaryData

public BinaryData(byte[] bytes)
Method Detail

getStream

public java.io.InputStream getStream()

writeTo

public void writeTo(java.io.OutputStream out)
             throws java.io.IOException
Throws:
java.io.IOException

getBytes

@Deprecated
public byte[] getBytes()
Deprecated. 


convertBytes

public static byte[] convertBytes(java.io.InputStream in)
                           throws java.io.IOException
Throws:
java.io.IOException