Skip to content

Commit 740fe05

Browse files
committed
eol native
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/io/trunk@1302382 13f79535-47bb-0310-9956-ffa450edef68
1 parent da3a87a commit 740fe05

6 files changed

Lines changed: 492 additions & 492 deletions

File tree

src/site/xdoc/upgradeto2_1.xml

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
1-
<?xml version="1.0"?>
2-
<!--
3-
Licensed to the Apache Software Foundation (ASF) under one or more
4-
contributor license agreements. See the NOTICE file distributed with
5-
this work for additional information regarding copyright ownership.
6-
The ASF licenses this file to You under the Apache License, Version 2.0
7-
(the "License"); you may not use this file except in compliance with
8-
the License. You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
17-
-->
18-
<document>
19-
<properties>
20-
<title>Upgrade from 2.0.1 to 2.1</title>
21-
<author email="dev@commons.apache.org">Commons Documentation Team</author>
22-
</properties>
23-
<body>
24-
25-
<section name="Upgrade">
26-
<p>
27-
These are the release notes and advice for upgrading Commons-IO from
28-
version 2.0.1 to version 2.1
29-
<source>
30-
Commons IO is a package of Java utility classes for java.io's hierarchy.
31-
Classes in this package are considered to be so standard and of such high
32-
reuse as to justify existence in java.io.
33-
34-
Commons IO contains utility classes, stream implementations, file filters,
35-
file comparators and endian transformation classes.
36-
37-
Compatibility with 2.0.1 and 1.4
38-
--------------------------------
39-
40-
Binary compatible - Yes
41-
42-
Source compatible - Yes
43-
44-
Semantic compatible - Yes
45-
Check the bug fixes section for semantic bug fixes
46-
47-
Commons IO 2.1 requires a minimum of JDK 1.5
48-
(Commons IO 1.4 had a minimum of JDK 1.3)
49-
50-
51-
New features since 2.0.1
52-
------------------------
53-
54-
o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
55-
o Add IOUtils API toString for URL and URI to get contents Issue: IO-284. Thanks to ggregory.
56-
o Add API FileUtils.copyFile(File input, OutputStream output) Issue: IO-282. Thanks to ggregory.
57-
o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
58-
o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
59-
o Add new APPEND parameter for writing string into files Issue: IO-182.
60-
o Add new read method "toByteArray" to handle InputStream with known size. Issue: IO-251. Thanks to Marco Albini.
61-
62-
Fixed Bugs since 2.0.1
63-
----------------------
64-
65-
o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
66-
o ReaderInputStream enters infinite loop when it encounters an unmappable character Issue: IO-277.
67-
o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown Issue: IO-264.
68-
o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
69-
o Tailer returning partial lines when reaching EOF before EOL Issue: IO-274. Thanks to Frank Grimes.
70-
o FileUtils.copyFile() throws IOException when copying large files to a shared directory (on Windows) Issue: IO-266. Thanks to Igor Smereka.
71-
o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no visible files.
72-
Improve coverage by also looking for hidden files. Issue: IO-263. Thanks to Gil Adam.
73-
74-
Changes since 2.0.1
75-
-------------------
76-
o FileAlterationMonitor.stop(boolean allowIntervalToFinish) Issue: IO-259.
77-
</source>
78-
</p>
79-
</section>
80-
81-
</body>
82-
</document>
1+
<?xml version="1.0"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<document>
19+
<properties>
20+
<title>Upgrade from 2.0.1 to 2.1</title>
21+
<author email="dev@commons.apache.org">Commons Documentation Team</author>
22+
</properties>
23+
<body>
24+
25+
<section name="Upgrade">
26+
<p>
27+
These are the release notes and advice for upgrading Commons-IO from
28+
version 2.0.1 to version 2.1
29+
<source>
30+
Commons IO is a package of Java utility classes for java.io's hierarchy.
31+
Classes in this package are considered to be so standard and of such high
32+
reuse as to justify existence in java.io.
33+
34+
Commons IO contains utility classes, stream implementations, file filters,
35+
file comparators and endian transformation classes.
36+
37+
Compatibility with 2.0.1 and 1.4
38+
--------------------------------
39+
40+
Binary compatible - Yes
41+
42+
Source compatible - Yes
43+
44+
Semantic compatible - Yes
45+
Check the bug fixes section for semantic bug fixes
46+
47+
Commons IO 2.1 requires a minimum of JDK 1.5
48+
(Commons IO 1.4 had a minimum of JDK 1.3)
49+
50+
51+
New features since 2.0.1
52+
------------------------
53+
54+
o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
55+
o Add IOUtils API toString for URL and URI to get contents Issue: IO-284. Thanks to ggregory.
56+
o Add API FileUtils.copyFile(File input, OutputStream output) Issue: IO-282. Thanks to ggregory.
57+
o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
58+
o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
59+
o Add new APPEND parameter for writing string into files Issue: IO-182.
60+
o Add new read method "toByteArray" to handle InputStream with known size. Issue: IO-251. Thanks to Marco Albini.
61+
62+
Fixed Bugs since 2.0.1
63+
----------------------
64+
65+
o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
66+
o ReaderInputStream enters infinite loop when it encounters an unmappable character Issue: IO-277.
67+
o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown Issue: IO-264.
68+
o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
69+
o Tailer returning partial lines when reaching EOF before EOL Issue: IO-274. Thanks to Frank Grimes.
70+
o FileUtils.copyFile() throws IOException when copying large files to a shared directory (on Windows) Issue: IO-266. Thanks to Igor Smereka.
71+
o FileSystemUtils.freeSpaceKb throws exception for Windows volumes with no visible files.
72+
Improve coverage by also looking for hidden files. Issue: IO-263. Thanks to Gil Adam.
73+
74+
Changes since 2.0.1
75+
-------------------
76+
o FileAlterationMonitor.stop(boolean allowIntervalToFinish) Issue: IO-259.
77+
</source>
78+
</p>
79+
</section>
80+
81+
</body>
82+
</document>

src/site/xdoc/upgradeto2_2.xml

Lines changed: 82 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,82 @@
1-
<?xml version="1.0"?>
2-
<!--
3-
Licensed to the Apache Software Foundation (ASF) under one or more
4-
contributor license agreements. See the NOTICE file distributed with
5-
this work for additional information regarding copyright ownership.
6-
The ASF licenses this file to You under the Apache License, Version 2.0
7-
(the "License"); you may not use this file except in compliance with
8-
the License. You may obtain a copy of the License at
9-
10-
http://www.apache.org/licenses/LICENSE-2.0
11-
12-
Unless required by applicable law or agreed to in writing, software
13-
distributed under the License is distributed on an "AS IS" BASIS,
14-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
See the License for the specific language governing permissions and
16-
limitations under the License.
17-
-->
18-
<document>
19-
<properties>
20-
<title>Upgrade from 2.1 to 2.2</title>
21-
<author email="dev@commons.apache.org">Commons Documentation Team</author>
22-
</properties>
23-
<body>
24-
25-
<section name="Upgrade">
26-
<p>
27-
These are the release notes and advice for upgrading Commons-IO from
28-
version 2.1 to version 2.2
29-
<source>
30-
Commons IO is a package of Java utility classes like java.io.
31-
Classes in this package are considered to be so standard and of such high
32-
reuse as to justify existence in java.io.
33-
34-
Commons IO contains utility classes, stream implementations, file filters,
35-
file comparators, endian transformation classes, and much more.
36-
37-
==============================================================================
38-
Commons IO Package Version 2.2
39-
==============================================================================
40-
41-
Changes in this version include:
42-
43-
New features:
44-
o IO-305: New copyLarge() method in IOUtils that takes additional offset, length arguments Thanks to Manoj Mokashi.
45-
o IO-287: Use terabyte (TB) , petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Thanks to Ron Kuris, Gary Gregory.
46-
o IO-173: FileUtils.listFiles() doesn't return directories Thanks to Marcos Vinícius da Silva.
47-
o IO-297: CharSequenceInputStream to efficiently stream content of a CharSequence Thanks to Oleg Kalnichevski.
48-
o IO-304: The second constructor of Tailer class does not pass 'delay' to the third one Thanks to liangly.
49-
o IO-303: TeeOutputStream does not call branch.close() when main.close() throws an exception Thanks to fabian.barney.
50-
o IO-302: ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Thanks to jsteuerwald, detinho.
51-
o IO-301: Add IOUtils.closeQuietly(Selector) necessary Thanks to kaykay.unique.
52-
o IO-292: IOUtils.closeQuietly() should take a ServerSocket as a parameter Thanks to sebb.
53-
o IO-290: Add read/readFully methods to IOUtils Thanks to sebb.
54-
o IO-288: Supply a ReversedLinesFileReader Thanks to Georg Henzler.
55-
o IO-291: Add new function FileUtils.directoryContains. Thanks to ggregory.
56-
o IO-275: FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
57-
Added contentEqualsIgnoreEOL methods to both classes Thanks to CJ Aspromgos.
58-
59-
Fixed Bugs:
60-
o IO-300: FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory
61-
o IO-307: ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters
62-
o IO-306: ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0
63-
o IO-276: "FileUtils#deleteDirectoryOnExit(File)" does not work Thanks to nkami.
64-
o IO-273: BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Thanks to sebb.
65-
o IO-298: Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Thanks to Christian Schulte.
66-
67-
Changes:
68-
o IO-296: ReaderInputStream optimization: more efficient reading of small chunks of data Thanks to Oleg Kalnichevski.
69-
70-
Compatibility with 2.1 and 1.4:
71-
Binary compatible: Yes
72-
Source compatible: Yes
73-
Semantic compatible: Yes. Check the bug fixes section for semantic bug fixes
74-
75-
Commons IO 2.2 requires a minimum of JDK 1.5.
76-
Commons IO 1.4 requires a minimum of JDK 1.3.
77-
</source>
78-
</p>
79-
</section>
80-
81-
</body>
82-
</document>
1+
<?xml version="1.0"?>
2+
<!--
3+
Licensed to the Apache Software Foundation (ASF) under one or more
4+
contributor license agreements. See the NOTICE file distributed with
5+
this work for additional information regarding copyright ownership.
6+
The ASF licenses this file to You under the Apache License, Version 2.0
7+
(the "License"); you may not use this file except in compliance with
8+
the License. You may obtain a copy of the License at
9+
10+
http://www.apache.org/licenses/LICENSE-2.0
11+
12+
Unless required by applicable law or agreed to in writing, software
13+
distributed under the License is distributed on an "AS IS" BASIS,
14+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
See the License for the specific language governing permissions and
16+
limitations under the License.
17+
-->
18+
<document>
19+
<properties>
20+
<title>Upgrade from 2.1 to 2.2</title>
21+
<author email="dev@commons.apache.org">Commons Documentation Team</author>
22+
</properties>
23+
<body>
24+
25+
<section name="Upgrade">
26+
<p>
27+
These are the release notes and advice for upgrading Commons-IO from
28+
version 2.1 to version 2.2
29+
<source>
30+
Commons IO is a package of Java utility classes like java.io.
31+
Classes in this package are considered to be so standard and of such high
32+
reuse as to justify existence in java.io.
33+
34+
Commons IO contains utility classes, stream implementations, file filters,
35+
file comparators, endian transformation classes, and much more.
36+
37+
==============================================================================
38+
Commons IO Package Version 2.2
39+
==============================================================================
40+
41+
Changes in this version include:
42+
43+
New features:
44+
o IO-305: New copyLarge() method in IOUtils that takes additional offset, length arguments Thanks to Manoj Mokashi.
45+
o IO-287: Use terabyte (TB) , petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Thanks to Ron Kuris, Gary Gregory.
46+
o IO-173: FileUtils.listFiles() doesn't return directories Thanks to Marcos Vinícius da Silva.
47+
o IO-297: CharSequenceInputStream to efficiently stream content of a CharSequence Thanks to Oleg Kalnichevski.
48+
o IO-304: The second constructor of Tailer class does not pass 'delay' to the third one Thanks to liangly.
49+
o IO-303: TeeOutputStream does not call branch.close() when main.close() throws an exception Thanks to fabian.barney.
50+
o IO-302: ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Thanks to jsteuerwald, detinho.
51+
o IO-301: Add IOUtils.closeQuietly(Selector) necessary Thanks to kaykay.unique.
52+
o IO-292: IOUtils.closeQuietly() should take a ServerSocket as a parameter Thanks to sebb.
53+
o IO-290: Add read/readFully methods to IOUtils Thanks to sebb.
54+
o IO-288: Supply a ReversedLinesFileReader Thanks to Georg Henzler.
55+
o IO-291: Add new function FileUtils.directoryContains. Thanks to ggregory.
56+
o IO-275: FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
57+
Added contentEqualsIgnoreEOL methods to both classes Thanks to CJ Aspromgos.
58+
59+
Fixed Bugs:
60+
o IO-300: FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory
61+
o IO-307: ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters
62+
o IO-306: ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0
63+
o IO-276: "FileUtils#deleteDirectoryOnExit(File)" does not work Thanks to nkami.
64+
o IO-273: BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Thanks to sebb.
65+
o IO-298: Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Thanks to Christian Schulte.
66+
67+
Changes:
68+
o IO-296: ReaderInputStream optimization: more efficient reading of small chunks of data Thanks to Oleg Kalnichevski.
69+
70+
Compatibility with 2.1 and 1.4:
71+
Binary compatible: Yes
72+
Source compatible: Yes
73+
Semantic compatible: Yes. Check the bug fixes section for semantic bug fixes
74+
75+
Commons IO 2.2 requires a minimum of JDK 1.5.
76+
Commons IO 1.4 requires a minimum of JDK 1.3.
77+
</source>
78+
</p>
79+
</section>
80+
81+
</body>
82+
</document>

0 commit comments

Comments
 (0)