| java.lang.Object edu.umd.cs.findbugs.io.IO
close | public static void close(InputStream inputStream)(Code) | | 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)(Code) | | Close given OutputStream, ignoring any resulting exception.
Parameters: outputStream - the OutputStream to close;may be null (in which case nothing happens) |
skipFully | public static void skipFully(InputStream in, long bytes) throws IOException(Code) | | Provide a skip fully method. Either skips the requested number of bytes or throws an IOException;
Parameters: in - The input stream on which to perform the skip Parameters: bytes - Number of bytes to skip throws: EOFException - if we reach EOF and still need to skip more bytes throws: IOException - if in.skip throws an IOException |
|
|