IOUtils提供以下操作 * <li>closeQuietly - these methods close a stream ignoring nulls and exceptions * <li>toXxx/read - these methods read data from a stream * <li>write - these methods write data to a stream * <li>copy - these methods copy all the data from one stream to another * <li>contentEquals - these methods compare the content of two streams HexDump 封装了十六进制的转换 IOCase * This class captures that difference, providing an enumeration to * control how filename comparisons should be performed. It also provides * methods that use the enumeration to perform comparisons.
纯继承 ClosedInputStream read()方法总返回一,返回结束标志 TeeInputStream 在读的同时,复制输出 InputStream proxy that transparently writes a copy of all bytes read * from the proxied stream to a given OutputStream
NullInputSream 模拟实现,不知道 A functional, light weight {@link InputStream} that emulates * a stream of a specified size.