TrueZIP Kernel 7.0-rc1

de.schlichtherle.truezip.fs.archive
Class FsDefaultArchiveController.TouchListener

java.lang.Object
  extended by de.schlichtherle.truezip.fs.archive.FsDefaultArchiveController.TouchListener
All Implemented Interfaces:
FsArchiveFileSystemTouchListener<E>, EventListener
Enclosing class:
FsDefaultArchiveController<E extends FsArchiveEntry>

private final class FsDefaultArchiveController.TouchListener
extends Object
implements FsArchiveFileSystemTouchListener<E>

An archive file system listener which makes the output before it touches the file system model.


Constructor Summary
private FsDefaultArchiveController.TouchListener()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FsDefaultArchiveController.TouchListener

private FsDefaultArchiveController.TouchListener()
Method Detail

beforeTouch

public void beforeTouch(FsArchiveFileSystemEvent<? extends E> event)
                 throws IOException
Description copied from interface: FsArchiveFileSystemTouchListener
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.

Specified by:
beforeTouch in interface FsArchiveFileSystemTouchListener<E extends FsArchiveEntry>
Throws:
IOException - at the discretion of the implementation.

afterTouch

public void afterTouch(FsArchiveFileSystemEvent<? extends E> event)
Description copied from interface: FsArchiveFileSystemTouchListener
Called immediately after the source archive file system has been modified (touched) for the first time.

Specified by:
afterTouch in interface FsArchiveFileSystemTouchListener<E extends FsArchiveEntry>

TrueZIP Kernel 7.0-rc1

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