edu.umd.cs.findbugs.io

Class IO

public class IO extends Object

Method Summary
static voidclose(InputStream inputStream)
Close given InputStream, ignoring any resulting exception.
static voidclose(OutputStream outputStream)
Close given OutputStream, ignoring any resulting exception.
static longcopy(InputStream in, OutputStream out)
static longcopy(Reader in, Writer out)
static longcopy(InputStream in, OutputStream out, long maxBytes)
static longcopy(Reader in, Writer out, long maxChars)
static StringreadAll(InputStream in)
static StringreadAll(Reader reader)

Method Detail

close

public static void close(InputStream inputStream)
Close given InputStream, ignoring any resulting exception.

Parameters: inputStream the InputStream to close; may be null (in which case nothing happens)

close

public static void close(OutputStream outputStream)
Close given OutputStream, ignoring any resulting exception.

Parameters: outputStream the OutputStream to close; may be null (in which case nothing happens)

copy

public static long copy(InputStream in, OutputStream out)

copy

public static long copy(Reader in, Writer out)

copy

public static long copy(InputStream in, OutputStream out, long maxBytes)

copy

public static long copy(Reader in, Writer out, long maxChars)

readAll

public static String readAll(InputStream in)

readAll

public static String readAll(Reader reader)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.