TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.fs.archive
Interface FsArchiveFileSystemTouchListener<E extends FsArchiveEntry>

Type Parameters:
E - The type of the archive entries.
All Superinterfaces:
EventListener
All Known Implementing Classes:
FsDefaultArchiveController.TouchListener

interface FsArchiveFileSystemTouchListener<E extends FsArchiveEntry>
extends EventListener

Used to notify implementations of an event in an FsArchiveFileSystem.

Author:
Christian Schlichtherle

Method Summary
 void afterTouch(FsArchiveFileSystemEvent<? extends E> event)
          Called immediately after the source archive file system has been modified (touched) for the first time.
 void beforeTouch(FsArchiveFileSystemEvent<? extends E> event)
          Called immediately before the source archive file system is going to get modified (touched) for the first time.
 

Method Detail

beforeTouch

void beforeTouch(FsArchiveFileSystemEvent<? extends E> event)
                 throws IOException
Called immediately before the source archive file system is going to get modified (touched) for the first time. If this method throws an IOException), then the modification is effectively vetoed.

Throws:
IOException - at the discretion of the implementation.

afterTouch

void afterTouch(FsArchiveFileSystemEvent<? extends E> event)
Called immediately after the source archive file system has been modified (touched) for the first time.


TrueZIP Kernel 7.0-rc1

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