|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.event.SimpleUninstallerListener
public class SimpleUninstallerListener
This class implements all methods of interface UninstallerListener, but do not do enything. It can be used as base class to save implementation of unneeded methods.
Field Summary |
---|
Fields inherited from interface com.izforge.izpack.event.UninstallerListener |
---|
AFTER_DELETE, AFTER_DELETION, BEFORE_DELETE, BEFORE_DELETION |
Constructor Summary | |
---|---|
SimpleUninstallerListener()
|
Method Summary | |
---|---|
void |
afterDelete(java.io.File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given file was deleted. |
void |
afterDeletion(java.util.List files,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given files are deleted. |
void |
beforeDelete(java.io.File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer before the given file will be deleted. |
void |
beforeDeletion(java.util.List files,
AbstractUIProgressHandler handler)
This method will be called from the destroyer before the given files will be deleted. |
boolean |
isFileListener()
Returns true if this listener would be informed at every delete operation, else false. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleUninstallerListener()
Method Detail |
---|
public void beforeDeletion(java.util.List files, AbstractUIProgressHandler handler) throws java.lang.Exception
UninstallerListener
beforeDeletion
in interface UninstallerListener
files
- all files which should be deletedhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void beforeDelete(java.io.File file, AbstractUIProgressHandler handler) throws java.lang.Exception
UninstallerListener
beforeDelete
in interface UninstallerListener
file
- file which should be deletedhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void afterDelete(java.io.File file, AbstractUIProgressHandler handler) throws java.lang.Exception
UninstallerListener
afterDelete
in interface UninstallerListener
file
- file which was just deletedhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public void afterDeletion(java.util.List files, AbstractUIProgressHandler handler) throws java.lang.Exception
UninstallerListener
afterDeletion
in interface UninstallerListener
files
- all files which where deletedhandler
- a handler to the current used UIProgressHandler
java.lang.Exception
public boolean isFileListener()
UninstallerListener
isFileListener
in interface UninstallerListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |