public class NativeLibraryManagerEventAdapter extends Object implements NativeLibraryManagerEventListener
Simply override the methods you're interested in.
| Constructor and Description |
|---|
NativeLibraryManagerEventAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
end()
Unpacking has completed.
|
void |
install(int number,
String name)
A file is being installed.
|
void |
purge(String installTo)
Purging of the installation directory has started.
|
void |
purged(boolean result)
Purging of the installation directory has completed.
|
void |
start(String installTo,
int installCount)
Unpacking has started.
|
public void start(String installTo, int installCount)
NativeLibraryManagerEventListenerstart in interface NativeLibraryManagerEventListenerinstallTo - name of the directory files are being unpacked toinstallCount - total number of files being unpackedpublic void install(int number,
String name)
NativeLibraryManagerEventListenerinstall in interface NativeLibraryManagerEventListenernumber - number (not index) of the file currently being installedname - name of the file currently being installedpublic void end()
NativeLibraryManagerEventListenerend in interface NativeLibraryManagerEventListenerpublic void purge(String installTo)
NativeLibraryManagerEventListenerpurge in interface NativeLibraryManagerEventListenerinstallTo - name of the installation directory being purgedpublic void purged(boolean result)
NativeLibraryManagerEventListenerpurged in interface NativeLibraryManagerEventListenerresult - true if all files and directories were deleted, otherwise falseCopyright © 2009-2012 Caprica Software Limited. All Rights Reserved.