Apache Commons IO
Version 2.4
Release Notes
INTRODUCTION:
Commons IO is a package of Java utility classes like java.io.
Classes in this package are considered to be so standard and of such high
reuse as to justify existence in java.io.
The Commons IO library contains utility classes, stream implementations, file filters,
file comparators, endian transformation classes, and much more.
==============================================================================
Apache Commons IO Version 2.4
==============================================================================
New features and bug fixes.
Changes in this version include:
New features:
o IO-269: Tailer locks file from deletion/rename on Windows. Thanks to sebb.
o IO-333: Export OSGi packages at version 1.x in addition to 2.x. Thanks to fmeschbe.
o IO-320: Add XmlStreamReader support for UTF-32. Thanks to ggregory.
o IO-331: BOMInputStream wrongly detects UTF-32LE_BOM files as UTF-16LE_BOM files in method getBOM(). Thanks to ggregory.
o IO-327: Add byteCountToDisplaySize(BigInteger). Thanks to ggregory.
o IO-326: Add new FileUtils.sizeOf[Directory] APIs to return BigInteger. Thanks to ggregory, kinow.
o IO-325: Add IOUtils.toByteArray methods to work with URL and URI. Thanks to raviprak.
o IO-324: Add missing Charset sister APIs to method that take a String charset name. Thanks to raviprak.
Fixed Bugs:
o IO-336: Yottabyte (YB) incorrectly defined in FileUtils. Thanks to rleavelle.
o IO-279: Tailer erroneously considers file as new. Thanks to Sergio Bossa, Chris Baron.
o IO-335: Tailer#readLines - incorrect CR handling.
o IO-334: FileUtils.toURLs throws NPE for null parameter; document the behavior.
o IO-332: Improve tailer's reading performance. Thanks to liangly.
o IO-279: Improve Tailer performance with buffered reads (see IO-332).
o IO-329: FileUtils.writeLines uses unbuffered IO. Thanks to tivv.
o IO-319: FileUtils.sizeOfDirectory follows symbolic links. Thanks to raviprak.
Compatibility with 2.3:
Binary compatible: Yes.
Source compatible: Yes.
Semantic compatible: Yes.
Compatibility with 2.2 and 1.4:
Binary compatible: Yes.
Source compatible: No, see the rare case in https://issues.apache.org/jira/browse/IO-318.
Semantic compatible: No, see the rare case in https://issues.apache.org/jira/browse/IO-318.
Commons IO 2.4 requires JDK 1.6 or later.
Commons IO 2.3 requires JDK 1.6 or later.
Commons IO 2.2 requires JDK 1.5 or later.
Commons IO 1.4 requires JDK 1.3 or later.
==============================================================================
Apache Commons IO Version 2.3
==============================================================================
Changes in this version include:
New features:
o IO-322: Add and use class Charsets. Thanks to ggregory.
o IO-321: ByteOrderMark UTF_32LE is incorrect. Thanks to ggregory.
o IO-318: Add Charset sister APIs to method that take a String charset name. Thanks to ggregory.
Compatibility with 2.2 and 1.4:
Binary compatible: Yes.
Source compatible: No, see the rare case in https://issues.apache.org/jira/browse/IO-318.
Semantic compatible: No, see the rare case in https://issues.apache.org/jira/browse/IO-318.
Commons IO 2.3 requires JDK 1.6 or later.
Commons IO 2.2 requires JDK 1.5 or later.
Commons IO 1.4 requires JDK 1.3 or later.
==============================================================================
Apache Commons IO Version 2.2
==============================================================================
Changes in this version include:
New features:
o Add IOUTils.toBufferedReader(Reader) Issue: IO-313. Thanks to ggregory.
o Allow applications to provide buffer (or size) for copyLarge methods. Issue: IO-308. Thanks to Manoj Mokashi.
o New copyLarge() method in IOUtils that takes additional offset, length arguments Issue: IO-305. Thanks to Manoj Mokashi.
o Use terabyte (TB), petabyte (PB) and exabyte (EB) in FileUtils.byteCountToDisplaySize(long size) Issue: IO-287. Thanks to Ron Kuris, Gary Gregory.
o FileUtils.listFiles() doesn't return directories Issue: IO-173. Thanks to Marcos Vin�cius da Silva.
o CharSequenceInputStream to efficiently stream content of a CharSequence Issue: IO-297. Thanks to Oleg Kalnichevski.
o The second constructor of Tailer class does not pass 'delay' to the third one Issue: IO-304. Thanks to liangly.
o TeeOutputStream does not call branch.close() when main.close() throws an exception Issue: IO-303. Thanks to fabian.barney.
o ArrayIndexOutOfBoundsException in BOMInputStream when reading a file without BOM multiple times Issue: IO-302. Thanks to jsteuerwald, detinho.
o Add IOUtils.closeQuietly(Selector) necessary Issue: IO-301. Thanks to kaykay.unique.
o IOUtils.closeQuietly() should take a ServerSocket as a parameter Issue: IO-292. Thanks to sebb.
o Add read/readFully methods to IOUtils Issue: IO-290. Thanks to sebb.
o Supply a ReversedLinesFileReader Issue: IO-288. Thanks to Georg Henzler.
o Add new function FileUtils.directoryContains. Issue: IO-291. Thanks to ggregory.
o FileUtils.contentEquals and IOUtils.contentEquals - Add option to ignore "line endings"
Added contentEqualsIgnoreEOL methods to both classes Issue: IO-275. Thanks to CJ Aspromgos.
Fixed Bugs:
o IOUtils.read(InputStream/Reader) ignores the offset parameter Issue: IO-311. Thanks to Robert Muir.
o CharSequenceInputStream(CharSequence s, Charset charset, int bufferSize) ignores bufferSize Issue: IO-312.
o FileUtils.moveDirectoryToDirectory removes source directory if destination is a subdirectory Issue: IO-300.
o ReaderInputStream#read(byte[] b, int off, int len) should check for valid parameters Issue: IO-307.
o ReaderInputStream#read(byte[] b, int off, int len) should always return 0 for length == 0 Issue: IO-306.
o "FileUtils#deleteDirectoryOnExit(File)" does not work Issue: IO-276. Thanks to nkami.
o BoundedInputStream.read() treats max differently from BoundedInputStream.read(byte[]...) Issue: IO-273. Thanks to sebb.
o Various methods of class 'org.apache.commons.io.FileUtils' incorrectly suppress 'java.io.IOException' Issue: IO-298. Thanks to Christian Schulte.
Changes:
o ReaderInputStream optimization: more efficient reading of small chunks of data Issue: IO-296. Thanks to Oleg Kalnichevski.
Compatibility with 2.1 and 1.4:
Binary compatible: Yes
Source compatible: Yes
Semantic compatible: Yes. Check the bug fixes section for semantic bug fixes
Commons IO 2.2 requires a minimum of JDK 1.5.
Commons IO 1.4 requires a minimum of JDK 1.3.
==============================================================================
Apache Commons IO Version 2.1
==============================================================================
New features:
o Use standard Maven directory layout Issue: IO-285. Thanks to ggregory.
o Add IOUtils API toString for URL and URI to get contents Issue: IO-284. Thanks to ggregory.
o Add API FileUtils.copyFile(File input, OutputStream output) Issue: IO-282. Thanks to ggregory.
o FileAlterationObserver has no getter for FileFilter Issue: IO-262.
o Add FileUtils.getFile API with varargs parameter Issue: IO-261.
o Add new APPEND parameter for writing string into files Issue: IO-182.
o Add new read method "toByteArray" to handle InputStream with known size. Issue: IO-251. Thanks to Marco Albini.
Fixed Bugs:
o Dubious use of mkdirs() return code Issue: IO-280. Thanks to sebb.
o ReaderInputStream enters infinite loop when it encounters an unmappable character Issue: IO-277.
o FileUtils.moveFile() JavaDoc should specify FileExistsException thrown Issue: IO-264.
o ClassLoaderObjectInputStream does not handle Proxy classes Issue: IO-260.
o Tailer returning partial lines when reaching EOF before EOL Issue: IO-274. Thanks to Frank Grimes.
o FileUt
没有合适的资源?快使用搜索试试~ 我知道了~
commons-fileupload实现jsp上传实例(源码)
共405个文件
html:356个
jar:19个
xml:7个
2星 需积分: 9 18 下载量 10 浏览量
2013-10-11
07:51:31
上传
评论
收藏 6.06MB RAR 举报
温馨提示
commons-fileupload实现jsp上传实例(源码),本源码在本机测试通过。
资源推荐
资源详情
资源评论
收起资源包目录
commons-fileupload实现jsp上传实例(源码) (405个子文件)
UploadServlet.class 5KB
stylesheet.css 1KB
stylesheet.css 1KB
inherit.gif 57B
inherit.gif 57B
index-all.html 466KB
IOUtils.html 275KB
FileUtils.html 258KB
index-all.html 128KB
FileFilterUtils.html 96KB
IOFileFilter.html 95KB
FilenameUtils.html 84KB
FileUploadBase.html 73KB
DirectoryWalker.html 57KB
FileWriterWithEncoding.html 53KB
DiskFileItem.html 52KB
serialized-form.html 51KB
EndianUtils.html 48KB
SwappedDataInputStream.html 48KB
LockableFileWriter.html 47KB
MultipartStream.html 47KB
XmlStreamReader.html 44KB
WriterOutputStream.html 43KB
Tailer.html 41KB
ProxyWriter.html 39KB
ReaderInputStream.html 39KB
FileAlterationObserver.html 38KB
overview-tree.html 37KB
BOMInputStream.html 37KB
ClassLoaderObjectInputStream.html 36KB
CopyUtils.html 36KB
ProxyReader.html 36KB
DiskFileUpload.html 35KB
NullReader.html 34KB
ProxyInputStream.html 34KB
IOCase.html 34KB
NullInputStream.html 34KB
StringBuilderWriter.html 34KB
ServletFileUpload.html 33KB
IOCase.html 32KB
ExtensionFileComparator.html 32KB
BoundedInputStream.html 32KB
NameFileComparator.html 32KB
PathFileComparator.html 32KB
FileEntry.html 32KB
ByteArrayOutputStream.html 31KB
PortletFileUpload.html 31KB
CharSequenceInputStream.html 31KB
NullWriter.html 30KB
AndFileFilter.html 30KB
OrFileFilter.html 30KB
WildcardFileFilter.html 29KB
ThresholdingOutputStream.html 29KB
SuffixFileFilter.html 29KB
PrefixFileFilter.html 29KB
FileItem.html 29KB
NameFileFilter.html 29KB
SizeFileComparator.html 29KB
FileUploadException.html 29KB
FileCleaner.html 28KB
ProxyOutputStream.html 28KB
FileItem.html 28KB
DeferredFileOutputStream.html 28KB
XmlStreamWriter.html 28KB
DiskFileItemFactory.html 27KB
TeeInputStream.html 27KB
XmlStreamReaderException.html 26KB
MagicNumberFileFilter.html 26KB
serialized-form.html 26KB
LimitedInputStream.html 25KB
CharSequenceReader.html 25KB
package-use.html 25KB
FileUpload.html 25KB
DirectoryFileComparator.html 25KB
DefaultFileComparator.html 25KB
FileCleaningTracker.html 25KB
FileAlterationMonitor.html 25KB
LastModifiedFileComparator.html 25KB
TeeOutputStream.html 25KB
ByteOrderMark.html 25KB
AgeFileFilter.html 25KB
Streams.html 24KB
FileSystemUtils.html 24KB
FileAlterationListenerAdaptor.html 24KB
TaggedIOException.html 24KB
Charsets.html 24KB
WildcardFilter.html 23KB
CountingInputStream.html 23KB
CompositeFileComparator.html 23KB
LineIterator.html 23KB
MultipartStream.ItemInputStream.html 23KB
TaggedInputStream.html 22KB
TaggedOutputStream.html 22KB
BrokenInputStream.html 22KB
FileUploadBase.FileSizeLimitExceededException.html 22KB
FileDeleteStrategy.html 22KB
RegexFileFilter.html 22KB
ParameterParser.html 22KB
AutoCloseInputStream.html 22KB
FileUploadException.html 22KB
共 405 条
- 1
- 2
- 3
- 4
- 5
资源评论
- dugumuyi2013-10-13不错是.JAR
pb0408311044
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功