public class SignatureConfig extends Object
Represents configuration settings for document processing operations. Provides methods for loading and saving configuration file.
| Constructor and Description |
|---|
SignatureConfig()
Creates signature configuration with default settings.
|
SignatureConfig(String configFileName)
Creates signature configuration with settings from file.
|
SignatureConfig(String storagePath,
String outputPath,
String imagesPath,
String certificatesPath)
Creates Signature Configuration with specified paths.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCertificatesPath()
Gets or sets the signature certificates path.
|
String |
getImagesPath()
Gets or sets the signature images path.
|
String |
getOutputPath()
Gets or sets the Documents output path.
|
String |
getStoragePath()
Gets or sets the signature storage path.
|
boolean |
load(String configFileName)
Load signature configuration from file.
|
void |
save(String configFileName)
Save signature configuration to file.
|
void |
setCertificatesPath(String value)
Gets or sets the signature certificates path.
|
void |
setImagesPath(String value)
Gets or sets the signature images path.
|
void |
setOutputPath(String value)
Gets or sets the Documents output path.
|
void |
setStoragePath(String value)
Gets or sets the signature storage path.
|
public SignatureConfig()
Creates signature configuration with default settings.
public SignatureConfig(String configFileName)
Creates signature configuration with settings from file.
configFileName - Configuration file path.public SignatureConfig(String storagePath, String outputPath, String imagesPath, String certificatesPath)
Creates Signature Configuration with specified paths.
storagePath - Storage path for source files.outputPath - Output path for signed documents.imagesPath - Images path.certificatesPath - Path with digital certificates and keys.public String getCertificatesPath()
Gets or sets the signature certificates path. Default storage of certificate files when provided location is relative or single file name.
public String getImagesPath()
Gets or sets the signature images path. Default storage of image documents when provided image location is relative or single file name.
public String getOutputPath()
Gets or sets the Documents output path. Processed Documents will be stored to this location by default.
public String getStoragePath()
Gets or sets the signature storage path. This option is used as default document storage when provided document path is relative or single file name.
public boolean load(String configFileName)
Load signature configuration from file.
configFileName - Configuration file path.public void save(String configFileName)
Save signature configuration to file.
configFileName - Configuration file path.public void setCertificatesPath(String value)
Gets or sets the signature certificates path. Default storage of certificate files when provided location is relative or single file name.
public void setImagesPath(String value)
Gets or sets the signature images path. Default storage of image documents when provided image location is relative or single file name.
public void setOutputPath(String value)
Gets or sets the Documents output path. Processed Documents will be stored to this location by default.
public void setStoragePath(String value)
Gets or sets the signature storage path. This option is used as default document storage when provided document path is relative or single file name.
Copyright © 2018. All rights reserved.