com.aelitis.azureus.util
Class ContentNetworkUtils

java.lang.Object
  extended by com.aelitis.azureus.util.ContentNetworkUtils

public class ContentNetworkUtils
extends java.lang.Object

Author:
TuxPaper

Constructor Summary
ContentNetworkUtils()
           
 
Method Summary
static ContentNetwork getContentNetworkFromTarget(java.lang.String target)
           
static java.lang.String getTarget(ContentNetwork cn)
           
static java.lang.String getUrl(ContentNetwork cn, int serviceID)
          Get content network url based on service id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentNetworkUtils

public ContentNetworkUtils()
Method Detail

getUrl

public static java.lang.String getUrl(ContentNetwork cn,
                                      int serviceID)
Get content network url based on service id.

Parameters:
cn -
serviceID -
Returns:
null if service is not supported
Since:
4.0.0.5

getContentNetworkFromTarget

public static ContentNetwork getContentNetworkFromTarget(java.lang.String target)

getTarget

public static java.lang.String getTarget(ContentNetwork cn)