edu.umd.cs.findbugs.io
Class IO
java.lang.Object
edu.umd.cs.findbugs.io.IO
public class IO
- extends java.lang.Object
Field Summary |
(package private) static java.lang.ThreadLocal |
myByteBuf
|
(package private) static java.lang.ThreadLocal |
myCharBuf
|
Method Summary |
static long |
copy(java.io.InputStream in,
java.io.OutputStream out)
|
static long |
copy(java.io.InputStream in,
java.io.OutputStream out,
long maxBytes)
|
static long |
copy(java.io.Reader in,
java.io.Writer out)
|
static long |
copy(java.io.Reader in,
java.io.Writer out,
long maxChars)
|
static java.lang.String |
readAll(java.io.InputStream in)
|
static java.lang.String |
readAll(java.io.Reader reader)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myByteBuf
static java.lang.ThreadLocal myByteBuf
myCharBuf
static java.lang.ThreadLocal myCharBuf
IO
public IO()
readAll
public static java.lang.String readAll(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
readAll
public static java.lang.String readAll(java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.Reader in,
java.io.Writer out)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.InputStream in,
java.io.OutputStream out,
long maxBytes)
throws java.io.IOException
- Throws:
java.io.IOException
copy
public static long copy(java.io.Reader in,
java.io.Writer out,
long maxChars)
throws java.io.IOException
- Throws:
java.io.IOException