|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.3) E10684-11 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.adf.view.rich.util.StreamUtils
public class StreamUtils
Utility method for working with various types of streams.
| Method Summary | |
|---|---|
static void |
copy(java.io.InputStream is, java.io.OutputStream os)Copies the InputStream to the OutputStream using a 4k buffer. |
static void |
copy(java.io.InputStream is, java.io.OutputStream os, int size)Copies the InputStream to the OutputStream using a defined buffer size in bytes. |
static void |
copy(java.io.Reader in, java.io.Writer out)Copies a Reader to a Writer with an 4096 char buffer. |
static void |
copy(java.io.Reader in, java.io.Writer out, int size)Copies a Reader to a Writer with a buffer of size characters. |
static int |
fill(byte[] buffer, java.io.InputStream is)Reads data from the InputStream and tries to fill the buffer. |
static java.io.InputStream |
getPartitionedInputStream(java.io.InputStream is, int len)Returns an InputStream that is a partition of another InputStream. |
static java.lang.String |
toString(java.io.InputStream is, java.lang.String encoding)Returns a string representation of this input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void copy(java.io.InputStream is,
java.io.OutputStream os)
throws java.io.IOException
is -os -java.io.IOException
public static void copy(java.io.InputStream is,
java.io.OutputStream os,
int size)
throws java.io.IOException
is -os -size -java.io.IOException
public static void copy(java.io.Reader in,
java.io.Writer out)
throws java.io.IOException
in -out -java.io.IOException
public static void copy(java.io.Reader in,
java.io.Writer out,
int size)
throws java.io.IOException
size characters.in -out -size -java.io.IOException
public static int fill(byte[] buffer,
java.io.InputStream is)
throws java.io.IOException
buffer -is -java.io.IOException
public static java.io.InputStream getPartitionedInputStream(java.io.InputStream is,
int len)
is -len -
public static java.lang.String toString(java.io.InputStream is,
java.lang.String encoding)
is -
|
Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces 11g Release 1 (11.1.1.7.3) E10684-11 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||