com.aelitis.azureus.util
Class FeatureUtils

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

public class FeatureUtils
extends java.lang.Object


Nested Class Summary
static class FeatureUtils.licenceDetails
           
 
Constructor Summary
FeatureUtils()
           
 
Method Summary
static java.lang.String getNoAdsMode()
           
static FeatureUtils.licenceDetails getPlusFeatureDetails()
           
static java.lang.String getPlusMode()
           
static FeatureUtils.licenceDetails getPlusOrNoAdFeatureDetails()
           
static long getRemaining()
           
static boolean hasFullBurn()
           
static boolean hasFullLicence()
          Deprecated. Use hasPlusLicence()
static boolean hasNoAdLicence()
           
static boolean hasPlusLicence()
           
static boolean hasTrialLicence()
           
static boolean isTrial(FeatureManager.FeatureDetails fd)
           
static boolean isTrialLicence(FeatureManager.Licence licence)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FeatureUtils

public FeatureUtils()
Method Detail

getPlusMode

public static java.lang.String getPlusMode()

getNoAdsMode

public static java.lang.String getNoAdsMode()

hasPlusLicence

public static boolean hasPlusLicence()

hasFullLicence

public static boolean hasFullLicence()
Deprecated. Use hasPlusLicence()

Only used by old promo plugins (<=2.0)


hasTrialLicence

public static boolean hasTrialLicence()

hasNoAdLicence

public static boolean hasNoAdLicence()

getPlusFeatureDetails

public static FeatureUtils.licenceDetails getPlusFeatureDetails()

getPlusOrNoAdFeatureDetails

public static FeatureUtils.licenceDetails getPlusOrNoAdFeatureDetails()

isTrialLicence

public static boolean isTrialLicence(FeatureManager.Licence licence)

isTrial

public static boolean isTrial(FeatureManager.FeatureDetails fd)

getRemaining

public static long getRemaining()

hasFullBurn

public static boolean hasFullBurn()
Returns: