Packages

 

com.groupdocs.comparison.common.license

Class Metered



  • public class Metered
    extends Object

    Metered license class

    • Constructor Detail

      • Metered

        public Metered()

        Initializes a new instance of the Metered class.

    • Method Detail

      • setMeteredKey

        public void setMeteredKey(String publicKey,
                         String privateKey)
                           throws Exception

        Sets metered public and private key

        Parameters:
        publicKey - public key
        privateKey - private key
        Throws:
        Exception
      • getConsumptionQuantity

        public static BigDecimal getConsumptionQuantity()
                                                 throws Exception

        Gets consumption quantity

        Returns:
        consumption quantity
        Throws:
        Exception