文件系统API EntityFS

fmms 12年前

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.open-open.com/lib/view/home/1335063742875