FileDocCategorySizeDatePackage
ShareManager.javaAPI DocAzureus 3.0.3.42004Mon Nov 14 03:57:08 GMT 2005org.gudy.azureus2.plugins.sharing

ShareManager

public interface ShareManager
author
parg

Fields Summary
Constructors Summary
Methods Summary
public ShareResourceDiraddDir(java.io.File dir)

public ShareResourceDirContentsaddDirContents(java.io.File dir, boolean recursive)

public ShareResourceFileaddFile(java.io.File file)

public voidaddListener(ShareManagerListener listener)

public voidcancelOperation()
adding shares can take a long time due to the torrent creation process. The current activity can be interrupted by calling this function, in which case the original activity will fail with a ShareException

public ShareResourcegetShare(java.io.File file_or_dir)
returns null if share not defined

param
file_or_dir
return

public ShareResource[]getShares()

public voidinitialise()

public booleanisInitialising()

public voidremoveListener(ShareManagerListener listener)