Example usage for Java org.apache.hadoop.io IOUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
void | cleanup(Log log, java.io.Closeable... closeables) Close the Closeable objects and ignore any Throwable or null pointers. |
void | closeSocket(Socket sock) Closes the socket ignoring IOException |
void | closeStream(java.io.Closeable stream) Closes the stream ignoring Throwable . |
void | copyBytes(InputStream in, OutputStream out, int buffSize, boolean close) Copies from one stream to another. |
void | copyBytes(InputStream in, OutputStream out, Configuration conf, boolean close) Copies from one stream to another. |
void | copyBytes(InputStream in, OutputStream out, long count, boolean close) Copies count bytes from one stream to another. |
void | copyBytes(InputStream in, OutputStream out, int buffSize) Copies from one stream to another. |
void | copyBytes(InputStream in, OutputStream out, Configuration conf) Copies from one stream to another. |
void | readFully(InputStream in, byte[] buf, int off, int len) Reads len bytes in a loop. |
void | skipFully(InputStream in, long len) Similar to readFully(). |