org.gudy.azureus2.ui.swt.sharing
Class ShareUtils

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.sharing.ShareUtils

public class ShareUtils
extends java.lang.Object


Constructor Summary
ShareUtils()
           
 
Method Summary
static void shareDir(org.eclipse.swt.widgets.Shell shell)
           
static void shareDir(java.lang.String file_name)
           
static void shareDir(java.lang.String file_name, java.util.Map<java.lang.String,java.lang.String> properties)
           
static void shareDirContents(org.eclipse.swt.widgets.Shell shell, boolean recursive)
           
static void shareDirContents(java.lang.String file_name, boolean recursive)
           
protected static void shareDirSupport(org.eclipse.swt.widgets.Shell shell, boolean contents, boolean recursive)
           
static void shareFile(org.eclipse.swt.widgets.Shell shell)
           
static void shareFile(java.lang.String file_name)
           
static void shareFile(java.lang.String file_name, java.util.Map<java.lang.String,java.lang.String> properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShareUtils

public ShareUtils()
Method Detail

shareFile

public static void shareFile(org.eclipse.swt.widgets.Shell shell)

shareDir

public static void shareDir(org.eclipse.swt.widgets.Shell shell)

shareDirContents

public static void shareDirContents(org.eclipse.swt.widgets.Shell shell,
                                    boolean recursive)

shareDirSupport

protected static void shareDirSupport(org.eclipse.swt.widgets.Shell shell,
                                      boolean contents,
                                      boolean recursive)

shareFile

public static void shareFile(java.lang.String file_name)

shareFile

public static void shareFile(java.lang.String file_name,
                             java.util.Map<java.lang.String,java.lang.String> properties)

shareDir

public static void shareDir(java.lang.String file_name)

shareDir

public static void shareDir(java.lang.String file_name,
                            java.util.Map<java.lang.String,java.lang.String> properties)

shareDirContents

public static void shareDirContents(java.lang.String file_name,
                                    boolean recursive)