You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by sc...@apache.org on 2005/08/28 01:16:37 UTC
svn commit: r241818 - /jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
Author: scolebourne
Date: Sat Aug 27 16:16:33 2005
New Revision: 241818
URL: http://svn.apache.org/viewcvs?rev=241818&view=rev
Log:
More release notes for v1.1
Modified:
jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
Modified: jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt?rev=241818&r1=241817&r2=241818&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt (original)
+++ jakarta/commons/proper/io/trunk/RELEASE-NOTES.txt Sat Aug 27 16:16:33 2005
@@ -26,13 +26,13 @@
Deprecations from 1.0
---------------------
-CopyUtils has been deprecated.
-Its methods have been moved to IOUtils.
-The new IOUtils methods handle nulls better, and have clearer names.
-
-IOUtils.toByteArray(String) - Use {@link String#getBytes()}
-IOUtils.toString(byte[]) - Use {@link String#String(byte[])}
-IOUtils.toString(byte[],String) - Use {@link String#String(byte[],String)}
+- CopyUtils has been deprecated.
+ Its methods have been moved to IOUtils.
+ The new IOUtils methods handle nulls better, and have clearer names.
+
+- IOUtils.toByteArray(String) - Use {@link String#getBytes()}
+- IOUtils.toString(byte[]) - Use {@link String#String(byte[])}
+- IOUtils.toString(byte[],String) - Use {@link String#String(byte[],String)}
Bug fixes from 1.0
@@ -43,9 +43,47 @@
- FileUtils - toFile(URL)
Now handles escape syntax such as %20
+- FileFilterUtils - makeCVSAware(IOFileFilter)
+ Fixed bug that caused method to be completely broken
+
+- CountingInputStream
+ Fixed bug that caused the count to reduce by one at the end of the stream
+
+- CountingInputStream - skip(long)
+ Bytes from calls to this method were not previously counted
+
+- DeferredFileOutputStream
+ ???
+
Enhancements from 1.0
---------------------
+- IOUtils - toByteArray(Reader,encoding)
+ Handles encodings when reading to a byte array
+
+- IOUtils - toCharArray(InputStream)
+ - toCharArray(InputStream,encoding)
+ - toCharArray(Reader)
+ Reads a stream/reader into a charatcter array
+
+- IOUtils - readLines(InputStream)
+ - readLines(InputStream,encoding)
+ - readLines(Reader)
+ Reads a stream/reader line by line into a List of Strings
+
+- IOUtils - toInputStream(String)
+ - toInputStream(String,encoding)
+ Creates an input stream that uses the string as a source of data
+
+- IOUtils - write(...)
+ Write data to a stream/writer (moved from CopyUtils with better null handling)
+
+- IOUtils - copy(...)
+ Copy data between streams (moved from CopyUtils with better null handling)
+
+- IOUtils - contentEquals(Reader,Reader)
+ Method to compare the contents of two readers
+
- FileUtils - toFiles(URL[])
Converts an array of URLs to an array of Files
@@ -68,6 +106,21 @@
- FileSystemUtils - new class
A static utility class for working with file systems
Provides one method at present, to get the free space on the filing system
+
+- ConditionalFileFilter - new interface
+ Defines the behaviour of list based filters
+
+- AndFileFilter, OrFileFilter
+ Now support a list of filters to and/or
+
+- WildcardFilter
+ New filter that can match using wildcard file names
+
+- FileFilterUtils - makeSVNAware(IOFileFilter)
+ New method, like makeCVSAware, that ignores Subversion source control directories
+
+- CountingInputStream,CountingOutputStream - resetCount()
+ Adds the ability to reset the count part way through reading/writing the stream
Feedback
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org