虛擬文件系統的實現 Commons-VFS
VFS把對各種各樣的的文件系統的訪問封裝成統一的應用程序接口,這大大的簡化了應用程序本身代碼的復雜度。Apache上的項目的穩定性也是有目共睹的,目前VFS支持下面一些文件系統,當然你也可以自行進行擴展。
它擁有的一些特性:
- 提供一個統一的API來訪問不同類型的文件。
- 支持多種文件系統類型。
- 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 .
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!