Welcome to the home page of EntityFS – the object-oriented file system API for Java!
EntityFS provides a set of abstractions and tools for working with file systems and their entities (files and directories) from Java. Notable features are:
- 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
When should I use EntityFS?
EntityFS should be a useful tool if you are writing an application that uses files and directories in ways other than the most trivial. See, for instance, the XML file copying example.
- 04/10/2011: EntityFS 1.2 released
- A new Zip file system implementation based on Zip from the At4J project. It supports recursive Zip file systems for Zip files that are not compressed further in the outer archive. Read the release notes and the change log for details.
- 05/26/2010: EntityFS 1.1.5 released
- This is a small bugfix release. Backslashes are now allowed in entity names, but this will only work on non-Windows platforms. Read the release notes and the change log for details.
- 09/21/2009: EntityFS 1.1.4 released
- Version 1.1.4 has a few performance improvements for absolute and relative locations. An issue with the PollingDirectoryMonitorer that made it not report modified entities when running on Windows has been fixed. Read the release notes and the change log for details.
- 07/15/2009: EntityFS 1.1.3 released
- This release comes with two new filters – GrepFilter and FGrepFilter. Some utility methods have been added to existing utility classes. A new article shows how EntityFS can be used by a Groovy program. Read the release notes and the change log for details.
- 04/13/2009: EntityFS 1.1.2 released
- EntityFS 1.1.2 adds a few utility methods. Validation of relative location paths is enabled.