Commons Virtual File System – Apache Commons VFS
Apache Commons VFS Project ™
Last Published: 14 Feb 2025
Version: 2.11.0-SNAPSHOT
ApacheCon
Apache
Commons
Commons VFS
About
Asking Questions
Release History
Issue Tracking
Dependency Management
Sources
Security
License
Code of Conduct
Javadoc
Javadoc Current
Javadoc Archive
Build
Using the API
File Systems
Ant Tasks
Testing
Wiki
Commons VFS Modules
VFS Ant
VFS Core
VFS Examples
VFS HDFS
VFS Jackrabbit 1.x
VFS Jackrabbit 2.x
VFS Sandbox
Project Documentation
Project Information
About
Summary
Project Modules
Team
Source Code Management
Issue Management
Mailing Lists
Maven Coordinates
Dependency Management
Dependency Convergence
CI Management
Distribution Management
Project Reports
Commons
License
Components
Sandbox
Dormant
General Information
Security
Volunteering
Contributing Patches
Building Components
Commons Parent POM
Commons Build Plugin
Commons Release Plugin
Site Publication
Releasing Components
Wiki
ASF
How the ASF works
Get Involved
Developer Resources
Code of Conduct
Sponsorship
Thanks
Commons Virtual File System
Commons VFS provides a single API for accessing
various different file systems. It presents a uniform view of
the files from various different sources, such as the files on
local disk, on an HTTP server, or inside a Zip archive.
Some of the features of Commons VFS are:
A single consistent API for accessing files of different
types.
Support for numerous
file system types
Caching of file information. Caches information in-JVM,
and optionally can cache remote file information on the
local file system (replicator).
Event delivery.
Support for logical file systems made up of files from
various different file systems.
Utilities for integrating Commons VFS into applications,
such as a VFS-aware ClassLoader and URLStreamHandlerFactory.
A set of VFS-enabled
Ant tasks
Requirements
Many of the file systems require that optional components be present in order for the protocol to be
enabled. See the
download and build
page for information on the optional
dependencies.
Apache Commons VFS Version
Java Version
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.0
2.4.x
2.3
2.2
2.1
2.0
1.0
1.3
News
Apache Commons VFS 2.10.0 is a new features and bug fix release. Version 2.10.0 adds the modules
commons-vfs2-ant
commons-vfs2-bom
and
commons-vfs2-hdfs
containing classes previously delivered in
commons-vfs2
Apache Commons VFS 2.5.0 is a new features and bug fix release. Version 2.5.0 adds the modules
commons-vfs2-jackrabbit1
and
commons-vfs2-jackrabbit2
The module
commons-vfs2-jackrabbit1
contains WebDAV classes previously delivered in
commons-vfs2
Apache Commons VFS 2.4.1 is a bug fix release.
Apache Commons VFS 2.4 is a new features and bug fix release.
Apache Commons VFS 2.3 is a new features and bug fix release.
Apache Commons VFS 2.2 is a new features and bug fix release.
Apache Commons VFS 2.1 is a bugfix release to VFS 2.0. If you meet the requirements you should be able
to replace 2.0 with 2.1 without the need for changes to API consumers. VFS 2.1 has introduced some now
methods for provider interfaces (like
FileObject
). If you implement a VFS provider and use the
corresponding
Abstract*
or
Default*
classes, there should be no need to modify
the code or recompile the provider. The TarFileProvider is one known exception to compatibility with 2.0.
See the
Release Notes
and the
Clirr Report
for details. VFS 2.1 adds a new read-only
provider for the Apache Hadoop (HDFS) File system.
Apache Commons VFS 2.0 adds support for FTPS and WebDav have been added in addition to many bugs
being fixed. Version 2.0 is not binary compatible with version 1.0. To ensure that both 1.0 and 2.0 can
coexist version 2.0 has had its Maven groupId changed to org.apache.commons, its Maven artifact changed
to commons-vfs2, and the package names are now org.apache.commons.vfs2. The API changes are fairly minor
and will mostly impact provider implementations.
Copyright © 2002-2025
The Apache Software Foundation