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.
  • 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 .

News

2005-08-13 - imario@apache.org: RC3

2005-07-05 - imario@apache.org: RC2 - includes multi-threading fixes for ftp and webdav

2005-06-29 - imario@apache.org: RC1

2005-06-19 - imario@apache.org: Again refactored filename parsing. sftp now accepts files with space in their filename

2005-05-24 - imario@apache.org: Moved VFS out of sandbox into proper. What a great day!

2005-05 - imario@apache.org: Find the "How to setup a VFS Testserver" documentation in the developer area.

2005-03 - imario@apache.org: easier configuration for plugins - see api section for details

2005-03 - imario@apache.org: The filename parsing and api has changed.

  • Now it is needed to encode the '%' sign using '%25'
  • It is no longer needed to encode the '!' sign when using nested archives (tar, jar, ...).

    Now you can encode it if you would like to use it in your filename
  • It is no longer needed to double-encode the filename when using layered names. tar:tar:file:///
  • Depending on the filesystem special characters in your filename could automatically be encoded
  • FileName.resolveName(...) has been moved to FileSystemManager.resolveName(...)