|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gudy.azureus2.plugins.utils.StaticUtilities
public class StaticUtilities
Plugin utility class for easy access to static helper methods, without the need for a plugin interface instance.
| Constructor Summary | |
|---|---|
StaticUtilities()
|
|
| Method Summary | |
|---|---|
static PluginInterface |
getDefaultPluginInterface()
|
static Formatters |
getFormatters()
Get display and byte format utilities. |
static ResourceDownloaderFactory |
getResourceDownloaderFactory()
|
static UIManager |
getUIManager(long millis_to_wait_for_attach)
gets the default UI manager and also waits for up to a specified time for a UI instance to attach. useful when doing things during initialisation |
static int |
promptUser(java.lang.String title,
java.lang.String desc,
java.lang.String[] options,
int default_option)
See UIInstance.promptUser |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StaticUtilities()
| Method Detail |
|---|
public static Formatters getFormatters()
public static ResourceDownloaderFactory getResourceDownloaderFactory()
public static PluginInterface getDefaultPluginInterface()
public static int promptUser(java.lang.String title,
java.lang.String desc,
java.lang.String[] options,
int default_option)
title - desc - options - default_option -
public static UIManager getUIManager(long millis_to_wait_for_attach)
millis_to_wait_for_attach -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||