java.lang.Object
com.aspose.words.Metered
public class Metered
- extends java.lang.Object
Provides methods to set metered key.
Example:
In this example, an attempt will be made to set metered public and private key
the component jar file:
Metered matered = new Metered();
matered.setMeteredKey("PublicKey", "PrivateKey");
Constructor Summary |
Metered()
Initializes a new instance of this class.
|
Method Summary |
static java.math.BigDecimal | getConsumptionQuantity() | |
Gets consumption quantity
|
void | setMeteredKey(java.lang.String publicKey, java.lang.String privateKey) | |
Sets metered public and private key
|
Metered
public Metered()
-
Initializes a new instance of this class.
getConsumptionQuantity | |
public static java.math.BigDecimal getConsumptionQuantity()
throws java.lang.Exception |
-
Gets consumption quantity
- Returns:
- consumption quantity
setMeteredKey | |
public void setMeteredKey(java.lang.String publicKey, java.lang.String privateKey) |
-
Sets metered public and private key
- Parameters:
publicKey
- public keyprivateKey
- private key
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.