|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpdateInstaller
Method Summary | |
---|---|
void |
addChangeRightsAction(String rights,
String to_file)
Add an installation "change rights" action to change a file rights |
void |
addMoveAction(String from_file_or_resource,
String to_file)
Add an installation "move" action to move either an absolute file or resource |
void |
addRemoveAction(String file)
Adds an action to remove either a directory (recursively delete) or file |
void |
addResource(String resource_name,
InputStream is)
Add a resource to the installation. |
void |
addResource(String resource_name,
InputStream is,
boolean closeInputStream)
Add a resource to the installation. |
void |
destroy()
|
String |
getInstallDir()
Returns the absolute path of the Azureus install dir (i.e. |
String |
getUserDir()
Returns the absolute path of the user dir (i.e. |
void |
installNow(UpdateInstallerListener listener)
Runs the action now, not as part of a shutdown/restart of Vuze |
Method Detail |
---|
void addResource(String resource_name, InputStream is) throws UpdateException
resource_name
- non-qualified name for the resource - i.e. not an absolute file
name but rather something local like "fred". This can then be used
later in actionsis
-
UpdateException
void addResource(String resource_name, InputStream is, boolean closeInputStream) throws UpdateException
resource_name
- non-qualified name for the resource - i.e. not an absolute file
name but rather something local like "fred". This can then be used
later in actionsis
- closeInputStream
- if false, the InputStream is won't be closed
UpdateException
String getInstallDir()
String getUserDir()
void addMoveAction(String from_file_or_resource, String to_file) throws UpdateException
from_file
- either absolute or relativeto_file
- absolute
UpdateException
void addChangeRightsAction(String rights, String to_file) throws UpdateException
rights
- the rights, for example "776"to_file
- absolute
UpdateException
void addRemoveAction(String file) throws UpdateException
file
-
UpdateException
void installNow(UpdateInstallerListener listener) throws UpdateException
UpdateException
void destroy()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |