Package com.itextpdf.licensekey
Class LicenseKeyVolumeConfigurer
java.lang.Object
com.itextpdf.licensekey.LicenseKeyVolumeConfigurer
The static API configurer for volume license reporting
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Reset API configuration.static void
useLocalReporting
(String directoryToWritePath) Select local reporting type for License Key Volume with specified root directory for generated reportsstatic void
Select remote reporting type in which events are sent over the web to a remote server.
-
Field Details
-
REPORTING_TYPE_ENVIRONMENT_VARIABLE_NAME
- See Also:
-
REPORTING_TYPE_PROPERTY_NAME
- See Also:
-
LOCAL_FILE_DIR_PATH_ENVIRONMENT_VARIABLE_NAME
- See Also:
-
LOCAL_FILE_DIR_PATH_PROPERTY_NAME
- See Also:
-
REMOTE_REPORTING
- See Also:
-
LOCAL_REPORTING
- See Also:
-
-
Method Details
-
useRemoteReporting
public static void useRemoteReporting()Select remote reporting type in which events are sent over the web to a remote server. -
useLocalReporting
Select local reporting type for License Key Volume with specified root directory for generated reports- Parameters:
-
directoryToWritePath
- the path to local directory for writing reports. If it is null, then System propertyLOCAL_FILE_DIR_PATH_PROPERTY_NAME
, or System environment variableLOCAL_FILE_DIR_PATH_ENVIRONMENT_VARIABLE_NAME
will be used, or the path configured in license file. - Throws:
-
IllegalArgumentException
- in case of invalid directory path
-
resetApiConfiguration
public static void resetApiConfiguration()Reset API configuration. Can be used to use environment variables or default logic after API use.
-