com.aelitis.azureus.core.util
Class PlatformTorrentUtils
java.lang.Object
com.aelitis.azureus.core.util.PlatformTorrentUtils
public class PlatformTorrentUtils
- extends Object
Method Summary |
static String |
getContentDescription(TOTorrent torrent)
|
static Map |
getContentMap(TOTorrent torrent)
|
static Map |
getContentMapMap(TOTorrent torrent,
String key)
|
static String |
getContentMapString(TOTorrent torrent,
String key)
|
static int |
getContentPrimaryFileIndex(TOTorrent torrent)
|
static byte[] |
getContentThumbnail(TOTorrent torrent)
|
static String |
getContentThumbnailType(TOTorrent torrent)
|
static String |
getContentThumbnailUrl(TOTorrent torrent)
|
static String |
getContentTitle(TOTorrent torrent)
|
static int |
getContentVersion(TOTorrent torrent)
|
static void |
setContentDescription(TOTorrent torrent,
String desc)
|
static void |
setContentMapMap(TOTorrent torrent,
String key,
Map value)
|
static void |
setContentPrimaryFileIndex(TOTorrent torrent,
int index)
|
static void |
setContentThumbnail(TOTorrent torrent,
byte[] thumbnail)
|
static void |
setContentThumbnail(TOTorrent torrent,
byte[] thumbnail,
String type)
|
static void |
setContentThumbnailUrl(TOTorrent torrent,
String url)
|
static void |
setContentTitle(TOTorrent torrent,
String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlatformTorrentUtils
public PlatformTorrentUtils()
getContentMap
public static Map getContentMap(TOTorrent torrent)
getContentMapString
public static String getContentMapString(TOTorrent torrent,
String key)
getContentMapMap
public static Map getContentMapMap(TOTorrent torrent,
String key)
setContentMapMap
public static void setContentMapMap(TOTorrent torrent,
String key,
Map value)
getContentVersion
public static int getContentVersion(TOTorrent torrent)
getContentTitle
public static String getContentTitle(TOTorrent torrent)
setContentTitle
public static void setContentTitle(TOTorrent torrent,
String title)
getContentThumbnail
public static byte[] getContentThumbnail(TOTorrent torrent)
getContentDescription
public static String getContentDescription(TOTorrent torrent)
setContentDescription
public static void setContentDescription(TOTorrent torrent,
String desc)
getContentThumbnailUrl
public static String getContentThumbnailUrl(TOTorrent torrent)
setContentThumbnailUrl
public static void setContentThumbnailUrl(TOTorrent torrent,
String url)
setContentThumbnail
public static void setContentThumbnail(TOTorrent torrent,
byte[] thumbnail)
setContentThumbnail
public static void setContentThumbnail(TOTorrent torrent,
byte[] thumbnail,
String type)
getContentThumbnailType
public static String getContentThumbnailType(TOTorrent torrent)
getContentPrimaryFileIndex
public static int getContentPrimaryFileIndex(TOTorrent torrent)
setContentPrimaryFileIndex
public static void setContentPrimaryFileIndex(TOTorrent torrent,
int index)