package org.metaborg.util.file;

import org.apache.commons.vfs2.FileObject;

public interface IFileAccess {
    void read(FileObject file);

    void write(FileObject file);
}

@@ -74,71 +74,522 @@
 t;%0A%0A
-public interface IFileAccess %7B%0A    void read(FileObject file);%0A
+/**%0A * Interface for registering file access.%0A */%0Apublic interface IFileAccess %7B%0A    /**%0A     * Indicate that given file, or (non-recursive) contents of given directory, are going to be read. Call before%0A     * reading.%0A     * %0A     * @param resource%0A     *            File or directory going to be read.%0A     */%0A    void read(FileObject resource);%0A%0A    /**%0A     * Indicate that given file has been written to. Call after writing.%0A     * %0A     * @param file%0A     *            File that has been written to.%0A     */
 %0A   

Document IFileAccess interface.