edu.umd.cs.findbugs.io
public class IO extends Object
| Method Summary | |
|---|---|
| static void | close(InputStream inputStream)
Close given InputStream, ignoring any resulting exception.
|
| static void | close(OutputStream outputStream)
Close given OutputStream, ignoring any resulting exception.
|
| static long | copy(InputStream in, OutputStream out) |
| static long | copy(Reader in, Writer out) |
| static long | copy(InputStream in, OutputStream out, long maxBytes) |
| static long | copy(Reader in, Writer out, long maxChars) |
| static String | readAll(InputStream in) |
| static String | readAll(Reader reader) |
Parameters: inputStream the InputStream to close; may be null (in which case nothing happens)
Parameters: outputStream the OutputStream to close; may be null (in which case nothing happens)