FileDocCategorySizeDatePackage
ShareResource.javaAPI DocAzureus 3.0.3.42027Fri Dec 10 05:47:22 GMT 2004org.gudy.azureus2.plugins.sharing

ShareResource

public interface ShareResource
author
parg

Fields Summary
public static final int
ST_FILE
public static final int
ST_DIR
public static final int
ST_DIR_CONTENTS
Constructors Summary
Methods Summary
public voidaddChangeListener(ShareResourceListener l)

public voidaddDeletionListener(ShareResourceWillBeDeletedListener l)

public booleancanBeDeleted()

public voiddelete()

public java.lang.StringgetAttribute(org.gudy.azureus2.plugins.torrent.TorrentAttribute attribute)

param
attribute
return
null if no value defined

public org.gudy.azureus2.plugins.torrent.TorrentAttribute[]getAttributes()
get the defined attributes for this resource

return

public java.lang.StringgetName()

public ShareResourceDirContentsgetParent()

public intgetType()

public voidremoveChangeListener(ShareResourceListener l)

public voidremoveDeletionListener(ShareResourceWillBeDeletedListener l)

public voidsetAttribute(org.gudy.azureus2.plugins.torrent.TorrentAttribute attribute, java.lang.String value)