ePOST API

rice.email.proxy.util
Class StreamUtils

java.lang.Object
  extended by rice.email.proxy.util.StreamUtils

public class StreamUtils
extends java.lang.Object


Constructor Summary
StreamUtils()
           
 
Method Summary
static void copy(java.io.Reader in, java.io.Writer out)
           
static java.io.Reader limit(java.io.Reader in, long len)
          Creates a reader that will return -1 after len chars have been read.
static java.io.Reader splice(java.io.Reader one, java.io.Reader two)
           
static java.lang.String toString(java.io.Reader in)
           
 
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

toString

public static java.lang.String toString(java.io.Reader in)
                                 throws java.io.IOException
Throws:
java.io.IOException

copy

public static void copy(java.io.Reader in,
                        java.io.Writer out)
                 throws java.io.IOException
Throws:
java.io.IOException

limit

public static java.io.Reader limit(java.io.Reader in,
                                   long len)
Creates a reader that will return -1 after len chars have been read.


splice

public static java.io.Reader splice(java.io.Reader one,
                                    java.io.Reader two)

ePOST API

Copyright © 2001-2005 - Rice Pastry.