de.schlichtherle.io
Class ArchiveFileSystem.LinkDelta
java.lang.Object
de.schlichtherle.io.ArchiveFileSystem.AbstractDelta
de.schlichtherle.io.ArchiveFileSystem.LinkDelta
- All Implemented Interfaces:
- ArchiveFileSystem.Delta
- Enclosing class:
- ArchiveFileSystem
private final class ArchiveFileSystem.LinkDelta
- extends ArchiveFileSystem.AbstractDelta
A simple transaction for creating (and hence probably replacing) and
linking an entry in this virtual archive file system.
- See Also:
ArchiveFileSystem.link(java.lang.String, boolean)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elements
final ArchiveFileSystem.AbstractDelta.Element[] elements
ArchiveFileSystem.LinkDelta
private ArchiveFileSystem.LinkDelta(String entryName,
boolean createParents,
ArchiveEntry template)
throws ArchiveFileSystem.ArchiveFileSystemException
- Throws:
ArchiveFileSystem.ArchiveFileSystemException
createElements
private ArchiveFileSystem.AbstractDelta.Element[] createElements(String entryName,
boolean createParents,
ArchiveEntry template,
int level)
throws ArchiveFileSystem.ArchiveFileSystemException,
CharConversionException
- Throws:
ArchiveFileSystem.ArchiveFileSystemException
CharConversionException
ensureMayBeReplaced
private void ensureMayBeReplaced(String entryName,
ArchiveEntry oldEntry)
throws ArchiveFileSystem.ArchiveFileSystemException
- Throws:
ArchiveFileSystem.ArchiveFileSystemException
commit
public void commit()
throws IOException
- Links the entries into this virtual archive file system.
- Throws:
IOException
getEntry
public ArchiveEntry getEntry()
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.