文件系統API EntityFS

fmms 12年前發布 | 14K 次閱讀 Java Java開發

EntityFS是一個Java版的面向對象文件系統的API。它擁有一套豐富的功能強大的文件和目錄操作的工具,使它更容易將文件系統實體轉化為Java對象 。該文件和目錄接口執行獨立的,而且支持建立文件系統在磁盤上,在內存中,或在Zip或jar文件。文件系統也可以配置為支持功能,如數據壓縮文件或元數據。

  • File system entities are true entities in the object-oriented meaning of the word. A file system entity has a unique identity that separates it from other entities
  • File system API:s are backend-independent. File systems can be created in RAM memory, on Zip files, on file system directories, etcetera
  • Each file system have a configurable entity locking policy for protecting entities from conflicting concurrent updates from several program threads
  • File systems and entities are Observable for updates
  • Access controllers can be used for restricting access to entities
  • File system functionality can be extended with Capabilities, such as the GZip compression capability – compress file data transparently using the GZip algorithm, or the Metadata capability – attach metadata to files and directories
  • EntityFS provides a rich set of tools for working with files and directories. Tool methods range from those that make simple things simple, such as Files.readTextFile or Entities.copy, to those that make slightly more complicated thing simple, such as the IteratorCopier and the ZipCreator


 

項目主頁:http://www.baiduhome.net/lib/view/home/1335063742875

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!