|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.irisel.util.Copier
public class Copier
Auxiliar functions to copy streams
Field Summary |
---|
Constructor Summary | |
---|---|
Copier()
|
Method Summary | |
---|---|
static int |
copy(java.io.BufferedReader in,
java.io.PrintWriter out)
Writes the BufferedReader br_in to the PrintWriter pw_out, then flushes and closes. |
static int |
copy(java.io.BufferedReader in,
java.io.PrintWriter out,
boolean flush,
boolean close)
Writes the BufferedReader br_in to the PrintWriter pw_out, then flushes and closes depending on the booleans flush and close. |
static int |
copy(java.io.InputStream in,
java.io.OutputStream out)
Writes the InputStream in to the OutputStream out, then flushes and closes. |
static int |
copy(java.io.InputStream in,
java.io.OutputStream out,
boolean flush,
boolean close)
Writes the InputStream br_in to the OutputStream pw_out, then flushes and closes depending on the booleans flush and close. |
static int |
copy(java.lang.String str_in,
java.io.PrintWriter pw_out)
Writes the string str_in to the PrintWriter pw_out, then flushes and closes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Copier()
Method Detail |
---|
public static int copy(java.io.InputStream in, java.io.OutputStream out)
public static int copy(java.io.InputStream in, java.io.OutputStream out, boolean flush, boolean close)
public static int copy(java.io.BufferedReader in, java.io.PrintWriter out)
public static int copy(java.io.BufferedReader in, java.io.PrintWriter out, boolean flush, boolean close)
public static int copy(java.lang.String str_in, java.io.PrintWriter pw_out)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |