| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <document> |
| <properties> |
| <title>Upgrade from 2.0 to 2.0.1</title> |
| <author email="[email protected]">Commons Documentation Team</author> |
| </properties> |
| <body> |
| |
| <section name="Upgrade"> |
| <p> |
| These are the release notes and advice for upgrading Commons-IO from |
| version 2.0 to version 2.0.1 |
| <source> |
| Commons IO is a package of Java utility classes for java.io's hierarchy. |
| Classes in this package are considered to be so standard and of such high |
| reuse as to justify existence in java.io. |
| |
| Commons IO contains utility classes, stream implementations, file filters, |
| file comparators and endian transformation classes. |
| |
| |
| Compatibility with 2.0 and 1.4 |
| ------------------------------ |
| Binary compatible - Yes |
| |
| Source compatible - Yes |
| |
| Semantic compatible - Yes |
| Check the bug fixes section for semantic bug fixes |
| |
| Commons IO 2.0.1 requires a minimum of JDK 1.5 |
| (Commons IO 1.4 had a minimum of JDK 1.3) |
| |
| |
| Enhancements from 2.0 |
| --------------------- |
| |
| * [IO-256] - Provide thread factory for FileAlternationMonitor |
| |
| |
| Bug fixes from 2.0 |
| ------------------ |
| |
| * [IO-257] - BOMInputStream.read(byte[]) can return 0 which it should not |
| * [IO-258] - XmlStreamReader consumes the stream during encoding detection |
| </source> |
| </p> |
| </section> |
| |
| </body> |
| </document> |