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)
NativeLibraryManagerEventListener
start
in interface NativeLibraryManagerEventListener
installTo
- name of the directory files are being unpacked toinstallCount
- total number of files being unpackedpublic void install(int number, String name)
NativeLibraryManagerEventListener
install
in interface NativeLibraryManagerEventListener
number
- number (not index) of the file currently being installedname
- name of the file currently being installedpublic void end()
NativeLibraryManagerEventListener
end
in interface NativeLibraryManagerEventListener
public void purge(String installTo)
NativeLibraryManagerEventListener
purge
in interface NativeLibraryManagerEventListener
installTo
- name of the installation directory being purgedpublic void purged(boolean result)
NativeLibraryManagerEventListener
purged
in interface NativeLibraryManagerEventListener
result
- true
if all files and directories were deleted, otherwise false
Copyright © 2009-2012 Caprica Software Limited. All Rights Reserved.