org.apache.jetspeed.util
Class Streams
java.lang.Object
org.apache.jetspeed.util.Streams
- public class Streams
- extends java.lang.Object
Utility functions related to Streams
- Version:
- $Id: Streams.java,v 1.2 2003/04/23 01:44:52 taylor Exp $
- Author:
- David Sean Taylor
Method Summary |
static byte[] |
drain(java.io.InputStream r)
|
static void |
drain(java.io.InputStream r,
java.io.OutputStream w)
|
static void |
drain(java.io.InputStream is,
java.io.Writer w)
|
static void |
drain(java.io.Reader r,
java.io.OutputStream os)
|
static void |
drain(java.io.Reader r,
java.io.Writer w)
|
static java.lang.String |
getAsString(java.io.InputStream is)
|
static java.lang.String |
getAsString(java.io.Reader is)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Streams
public Streams()
drain
public static void drain(java.io.InputStream r,
java.io.OutputStream w)
throws java.io.IOException
- Throws:
java.io.IOException
drain
public static void drain(java.io.Reader r,
java.io.Writer w)
throws java.io.IOException
- Throws:
java.io.IOException
drain
public static void drain(java.io.Reader r,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
drain
public static byte[] drain(java.io.InputStream r)
throws java.io.IOException
- Throws:
java.io.IOException
drain
public static void drain(java.io.InputStream is,
java.io.Writer w)
throws java.io.IOException
- Throws:
java.io.IOException
getAsString
public static java.lang.String getAsString(java.io.InputStream is)
getAsString
public static java.lang.String getAsString(java.io.Reader is)
Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.