com.aelitis.azureus.util
Class ContentNetworkUtils

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

public class ContentNetworkUtils
extends Object

Author:
TuxPaper

Constructor Summary
ContentNetworkUtils()
           
 
Method Summary
static ContentNetwork getContentNetworkFromTarget(String target)
           
static String getTarget(ContentNetwork cn)
           
static 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 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(String target)

getTarget

public static String getTarget(ContentNetwork cn)