TrueZIP 6.8.3

de.schlichtherle.io
Interface ArchiveFileSystem.Delta

All Known Implementing Classes:
ArchiveFileSystem.AbstractDelta, ArchiveFileSystem.LinkDelta
Enclosing class:
ArchiveFileSystem

static interface ArchiveFileSystem.Delta

This interface encapsulates the methods required to begin and commit a simplified transaction (a delta) on this virtual archive file system.

Note that there is no begin or rollback method in this class. Instead, begin is expected to be implemented by the constructor of the implementation and must not modify the file system, so that an explicit rollback is not required.


Method Summary
 void commit()
          Commits the simplified transaction, possibly modifying the enclosing virtual archive file system.
 ArchiveEntry getEntry()
          Returns the entry operated by this file system delta.
 

Method Detail

getEntry

ArchiveEntry getEntry()
Returns the entry operated by this file system delta.


commit

void commit()
            throws IOException
Commits the simplified transaction, possibly modifying the enclosing virtual archive file system.

Throws:
IOException - If the commit operation fails for any I/O related reason.

TrueZIP 6.8.3

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.