|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Formatters |
getFormatters()
Get display and byte format utilities. |
static ResourceDownloaderFactory |
getResourceDownloaderFactory()
|
static ResourceUploaderFactory |
getResourceUploaderFactory()
|
static RSSFeed |
getRSSFeed(URL source_url,
InputStream is)
|
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. |
static int |
promptUser(String title,
String desc,
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 ResourceUploaderFactory getResourceUploaderFactory()
public static RSSFeed getRSSFeed(URL source_url, InputStream is) throws SimpleXMLParserDocumentException
SimpleXMLParserDocumentException
public static int promptUser(String title, String desc, 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 |