public class SignatureConfig extends Object
Represents a options for Signature Operations Provides methods to load, save configuration
Constructor and Description |
---|
SignatureConfig()
Create Signature Configuration with default settings
|
SignatureConfig(String configFileName)
Load Signature Configuration 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()
Get or Set the Signature certificate files path
|
String |
getImagesPath()
Get or Set the Signature images path
|
String |
getOutputPath()
Get or Set the Signature output path
|
String |
getStoragePath()
Get or Set the Signature storage path
|
boolean |
load(String configFileName)
Load Configuration from file
|
void |
save(String configFileName)
Save Signature Configuration to file
|
void |
setCertificatesPath(String value)
Get or Set the Signature certificate files path
|
void |
setImagesPath(String value)
Get or Set the Signature images path
|
void |
setOutputPath(String value)
Get or Set the Signature output path
|
void |
setStoragePath(String value)
Get or Set the Signature storage path
|
public SignatureConfig(String configFileName)
Load Signature Configuration from file
configFileName
- Configuration file pathpublic SignatureConfig()
Create Signature Configuration with default settings
public SignatureConfig(String storagePath, String outputPath, String imagesPath, String certificatesPath)
Creates Signature Configuration with specified paths
storagePath
- Storage Path for source filesoutputPath
- Output path for signed documentsimagesPath
- Images pathcertificatesPath
- Path with digital certificates and keyspublic String getStoragePath()
Get or Set the Signature storage path
public void setStoragePath(String value)
Get or Set the Signature storage path
public String getOutputPath()
Get or Set the Signature output path
public void setOutputPath(String value)
Get or Set the Signature output path
public String getImagesPath()
Get or Set the Signature images path
public void setImagesPath(String value)
Get or Set the Signature images path
public String getCertificatesPath()
Get or Set the Signature certificate files path
public void setCertificatesPath(String value)
Get or Set the Signature certificate files path
public boolean load(String configFileName)
Load Configuration from file
configFileName
- File with configurationpublic void save(String configFileName)
Save Signature Configuration to file
configFileName
- Configuration file pathCopyright © 2017. All rights reserved.