FileDocCategorySizeDatePackage
UpdateInstaller.javaAPI DocAzureus 3.0.3.43130Thu Feb 09 19:42:56 GMT 2006org.gudy.azureus2.plugins.update

UpdateInstaller

public interface UpdateInstaller
author
parg

Fields Summary
Constructors Summary
Methods Summary
public voidaddChangeRightsAction(java.lang.String rights, java.lang.String to_file)
Add an installation "change rights" action to change a file rights

param
rights the rights, for example "776"
param
to_file absolute

public voidaddMoveAction(java.lang.String from_file_or_resource, java.lang.String to_file)
Add an installation "move" action to move either an absolute file or resource

param
from_file either absolute or relative
param
to_file absolute

public voidaddRemoveAction(java.lang.String file)
Adds an action to remove either a directory (recursively delete) or file

param
file
throws
UpdateException

public voidaddResource(java.lang.String resource_name, java.io.InputStream is)
Add a resource to the installation. The file will be saved away for later use.

param
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 actions
param
is

public voidaddResource(java.lang.String resource_name, java.io.InputStream is, boolean closeInputStream)
Add a resource to the installation. The file will be saved away for later use.

param
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 actions
param
is
param
closeInputStream if false, the InputStream is won't be closed

public java.lang.StringgetInstallDir()
Returns the absolute path of the Azureus install dir (i.e. where Azureus2.jar etc is located)

return

public java.lang.StringgetUserDir()
Returns the absolute path of the user dir (i.e. where config is stored)

return