public interface InstallerListener extends InstallationListener
Implementations of this class are used to handle customizing installation. The defined methods are called from the unpacker at different, well defined points of installation.
| Modifier and Type | Method and Description |
|---|---|
void |
afterDir(File dir,
PackFile packFile,
Pack pack)
Invoked after a directory is created.
|
void |
afterFile(File file,
PackFile packFile,
Pack pack)
Invoked after a file is installed.
|
void |
afterPack(Pack pack)
Invoked after a pack is installed.
|
void |
afterPacks(List<Pack> packs,
ProgressListener listener)
Invoked after packs are installed.
|
void |
beforeDir(File dir,
PackFile packFile,
Pack pack)
Invoked before a directory is created.
|
void |
beforeFile(File file,
PackFile packFile,
Pack pack)
Invoked before a file is installed.
|
void |
beforePack(Pack pack)
Invoked before a pack is installed.
|
void |
beforePacks(List<Pack> packs)
Invoked before packs are installed.
|
void |
beforePacks(List<Pack> packs,
ProgressListener listener)
Invoked before packs are installed.
|
initialise, isFileListenervoid beforePacks(List<Pack> packs)
packs - the packs to be installedIzPackException - for any errorvoid beforePacks(List<Pack> packs, ProgressListener listener)
packs - the packs to be installedlistener - the progress listenerIzPackException - for any errorvoid beforePack(Pack pack)
pack - the packIzPackException - for any errorvoid afterPack(Pack pack)
pack - the packIzPackException - for any errorvoid afterPacks(List<Pack> packs, ProgressListener listener)
packs - the installed packslistener - the progress listenerIzPackException - for any errorvoid beforeDir(File dir, PackFile packFile, Pack pack)
dir - the directorypackFile - the corresponding pack filepack - the pack that packFile comes fromIzPackException - for any errorvoid afterDir(File dir, PackFile packFile, Pack pack)
dir - the directorypackFile - the corresponding pack filepack - the pack that packFile comes fromIzPackException - for any errorvoid beforeFile(File file, PackFile packFile, Pack pack)
file - the filepackFile - the corresponding pack filepack - the pack that packFile comes fromIzPackException - for any errorvoid afterFile(File file, PackFile packFile, Pack pack)
file - the filepackFile - the corresponding pack filepack - the pack that packFile comes fromIzPackException - for any errorCopyright © 2001–2025. All rights reserved.