org.apache.jetspeed.util
Class Streams
java.lang.Object
org.apache.jetspeed.util.Streams
public class Streams
- extends Object
Utility functions related to Streams.
- Version:
- $Id: Streams.java 516448 2007-03-09 16:25:47Z ate $
- Author:
- David Sean Taylor
Field Summary |
(package private) static int |
BLOCK_SIZE
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLOCK_SIZE
static final int BLOCK_SIZE
- See Also:
- Constant Field Values
Streams
public Streams()
drain
public static void drain(InputStream r,
OutputStream w)
throws IOException
- Throws:
IOException
drain
public static void drain(Reader r,
Writer w)
throws IOException
- Throws:
IOException
drain
public static void drain(Reader r,
OutputStream os)
throws IOException
- Throws:
IOException
drain
public static void drain(InputStream is,
Writer w)
throws IOException
- Throws:
IOException
drain
public static byte[] drain(InputStream r)
throws IOException
- Throws:
IOException
getAsString
public static String getAsString(InputStream is)
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.