com.jaspersoft.jasperserver.api.metadata.common.domain.util
Class StreamUtils

java.lang.Object
  extended by com.jaspersoft.jasperserver.api.metadata.common.domain.util.StreamUtils

public class StreamUtils
extends java.lang.Object

Version:
$Id: StreamUtils.java 8408 2007-05-29 23:29:12Z melih $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
StreamUtils()
           
 
Method Summary
static void pipeData(java.io.InputStream is, java.io.OutputStream os)
           
static byte[] readData(java.sql.Blob blob)
           
static byte[] readData(java.io.InputStream is)
           
static byte[] readData(java.io.InputStream is, int size)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamUtils

public StreamUtils()
Method Detail

readData

public static byte[] readData(java.io.InputStream is)

readData

public static byte[] readData(java.io.InputStream is,
                              int size)

readData

public static byte[] readData(java.sql.Blob blob)

pipeData

public static void pipeData(java.io.InputStream is,
                            java.io.OutputStream os)
                     throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007. All Rights Reserved.