1- $Id$
21
3- Commons IO Package
4- Version 2.1
5- Release Notes
2+ Commons IO Package
3+ Version 2.2
4+ Release Notes
65
76INTRODUCTION:
87
@@ -17,31 +16,39 @@ file comparators and endian transformation classes.
1716Commons IO Package Version 2.2
1817==============================================================================
1918
19+ The Commons IO library contains utility classes, stream implementations, file filters, file comparators and endian classes.
20+
21+ $release.description.replaceAll(" ", "
22+ ")
23+
24+ Changes in this version include:
25+
2026New features:
21- o Use terabyte (TB) , petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Issue: IO-287. Thanks to Ron Kuris, Gary Gregory.
22- o FileUtils.listFiles() doesn't return directories Issue: IO-173. Thanks to Marcos Vin�cius da Silva.
23- o CharSequenceInputStream to efficiently stream content of a CharSequence Issue: IO-297. Thanks to Oleg Kalnichevski.
24- o The second constructor of Tailer class does not pass 'delay' to the third one Issue: IO-304. Thanks to liangly.
25- o TeeOutputStream does not call branch.close() when main.close() throws an exception Issue: IO-303. Thanks to fabian.barney.
26- o ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Issue: IO-302. Thanks to jsteuerwald, detinho.
27- o Add IOUtils.closeQuietly(Selector) necessary Issue: IO-301. Thanks to kaykay.unique.
28- o IOUtils.closeQuietly() should take a ServerSocket as a parameter Issue: IO-292. Thanks to sebb.
29- o Add read/readFully methods to IOUtils Issue: IO-290. Thanks to sebb.
30- o Supply a ReversedLinesFileReader Issue: IO-288. Thanks to Georg Henzler.
31- o Add new function FileUtils.directoryContains. Issue: IO-291 . Thanks to ggregory.
32- o FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
33- Added contentEqualsIgnoreEOL methods to both classes Issue: IO-275. Thanks to CJ Aspromgos.
27+ o IO-287: Use terabyte (TB) , petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Thanks to Ron Kuris, Gary Gregory.
28+ o IO-173: FileUtils.listFiles() doesn't return directories Thanks to Marcos Vin�cius da Silva.
29+ o IO-297: CharSequenceInputStream to efficiently stream content of a CharSequence Thanks to Oleg Kalnichevski.
30+ o IO-304: The second constructor of Tailer class does not pass 'delay' to the third one Thanks to liangly.
31+ o IO-303: TeeOutputStream does not call branch.close() when main.close() throws an exception Thanks to fabian.barney.
32+ o IO-302: ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Thanks to jsteuerwald, detinho.
33+ o IO-301: Add IOUtils.closeQuietly(Selector) necessary Thanks to kaykay.unique.
34+ o IO-292: IOUtils.closeQuietly() should take a ServerSocket as a parameter Thanks to sebb.
35+ o IO-290: Add read/readFully methods to IOUtils Thanks to sebb.
36+ o IO-288: Supply a ReversedLinesFileReader Thanks to Georg Henzler.
37+ o IO-291: Add new function FileUtils.directoryContains. Thanks to ggregory.
38+ o IO-275: FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
39+ Added contentEqualsIgnoreEOL methods to both classes Thanks to CJ Aspromgos.
3440
3541Fixed Bugs:
36- o FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory Issue: IO-300.
37- o ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters Issue: IO-307.
38- o ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0 Issue: IO-306.
39- o "FileUtils#deleteDirectoryOnExit(File)" does not work Issue: IO-276. Thanks to nkami.
40- o BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Issue: IO-273. Thanks to sebb.
41- o Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Issue: IO-298. Thanks to Christian Schulte.
42+ o IO-300: FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory
43+ o IO-307: ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters
44+ o IO-306: ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0
45+ o IO-276: "FileUtils#deleteDirectoryOnExit(File)" does not work Thanks to nkami.
46+ o IO-273: BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Thanks to sebb.
47+ o IO-298: Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Thanks to Christian Schulte.
4248
4349Changes:
44- o ReaderInputStream optimization: more efficient reading of small chunks of data Issue: IO-296. Thanks to Oleg Kalnichevski.
50+ o IO-296: ReaderInputStream optimization: more efficient reading of small chunks of data Thanks to Oleg Kalnichevski.
51+
4552
4653==============================================================================
4754Commons IO Package Version 2.1
0 commit comments