@@ -19,31 +19,36 @@ Commons IO Package Version 2.2
1919Changes in this version include:
2020
2121New features:
22- o IO-305: New copyLarge() method in IOUtils that takes additional offset, length arguments Thanks to Manoj Mokashi.
23- o IO-287: Use terabyte (TB) , petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Thanks to Ron Kuris, Gary Gregory.
24- o IO-173: FileUtils.listFiles() doesn't return directories Thanks to Marcos Vin�cius da Silva.
25- o IO-297: CharSequenceInputStream to efficiently stream content of a CharSequence Thanks to Oleg Kalnichevski.
26- o IO-304: The second constructor of Tailer class does not pass 'delay' to the third one Thanks to liangly.
27- o IO-303: TeeOutputStream does not call branch.close() when main.close() throws an exception Thanks to fabian.barney.
28- o IO-302: ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Thanks to jsteuerwald, detinho.
29- o IO-301: Add IOUtils.closeQuietly(Selector) necessary Thanks to kaykay.unique.
30- o IO-292: IOUtils.closeQuietly() should take a ServerSocket as a parameter Thanks to sebb.
31- o IO-290: Add read/readFully methods to IOUtils Thanks to sebb.
32- o IO-288: Supply a ReversedLinesFileReader Thanks to Georg Henzler.
33- o IO-291: Add new function FileUtils.directoryContains. Thanks to ggregory.
34- o IO-275: FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
35- Added contentEqualsIgnoreEOL methods to both classes Thanks to CJ Aspromgos.
22+ o Add IOUTils.toBufferedReader(Reader) Issue: IO-313. Thanks to ggregory.
23+ o Allow applications to provide buffer (or size) for copyLarge methods. Issue: IO-308. Thanks to Manoj Mokashi.
24+ o New copyLarge() method in IOUtils that takes additional offset, length arguments Issue: IO-305. Thanks to Manoj Mokashi.
25+ o Use terabyte (TB), petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Issue: IO-287. Thanks to Ron Kuris, Gary Gregory.
26+ o FileUtils.listFiles() doesn't return directories Issue: IO-173. Thanks to Marcos Vin�cius da Silva.
27+ o CharSequenceInputStream to efficiently stream content of a CharSequence Issue: IO-297. Thanks to Oleg Kalnichevski.
28+ o The second constructor of Tailer class does not pass 'delay' to the third one Issue: IO-304. Thanks to liangly.
29+ o TeeOutputStream does not call branch.close() when main.close() throws an exception Issue: IO-303. Thanks to fabian.barney.
30+ o ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Issue: IO-302. Thanks to jsteuerwald, detinho.
31+ o Add IOUtils.closeQuietly(Selector) necessary Issue: IO-301. Thanks to kaykay.unique.
32+ o IOUtils.closeQuietly() should take a ServerSocket as a parameter Issue: IO-292. Thanks to sebb.
33+ o Add read/readFully methods to IOUtils Issue: IO-290. Thanks to sebb.
34+ o Supply a ReversedLinesFileReader Issue: IO-288. Thanks to Georg Henzler.
35+ o Add new function FileUtils.directoryContains. Issue: IO-291. Thanks to ggregory.
36+ o FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
37+ Added contentEqualsIgnoreEOL methods to both classes Issue: IO-275. Thanks to CJ Aspromgos.
3638
3739Fixed Bugs:
38- o IO-300: FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory
39- o IO-307: ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters
40- o IO-306: ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0
41- o IO-276: "FileUtils#deleteDirectoryOnExit(File)" does not work Thanks to nkami.
42- o IO-273: BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Thanks to sebb.
43- o IO-298: Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Thanks to Christian Schulte.
40+ o IOUtils.read(InputStream/Reader) ignores the offset parameter Issue: IO-311. Thanks to Robert Muir.
41+ o CharSequenceInputStream(CharSequence s, Charset charset, int bufferSize) ignores bufferSize Issue: IO-312.
42+ o FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory Issue: IO-300.
43+ o ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters Issue: IO-307.
44+ o ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0 Issue: IO-306.
45+ o "FileUtils#deleteDirectoryOnExit(File)" does not work Issue: IO-276. Thanks to nkami.
46+ o BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Issue: IO-273. Thanks to sebb.
47+ o Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Issue: IO-298. Thanks to Christian Schulte.
4448
4549Changes:
46- o IO-296: ReaderInputStream optimization: more efficient reading of small chunks of data Thanks to Oleg Kalnichevski.
50+ o ReaderInputStream optimization: more efficient reading of small chunks of data Issue: IO-296. Thanks to Oleg Kalnichevski.
51+
4752
4853Compatibility with 2.1 and 1.4:
4954Binary compatible: Yes
0 commit comments