Class FileContentStore

java.lang.Object
net.ontopia.infoset.content.FileContentStore
All Implemented Interfaces:
ContentStoreIF

public class FileContentStore extends Object implements ContentStoreIF
INTERNAL: A content store implementation based on the file system. It uses a two-level structure where inside the root directory is a set of directories, each of which contains a fixed number of files (N). A key is mapped to a file name (key modulo N) and a directory name (key divided by N). The next free key is stored in a file in the top directory, and keys are allocated in blocks.