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.
|
static Locale |
getDefaultCulture()
Specifies default Culture Info property that is being used for different culture related data conversion.
|
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.
|
static void |
setDefaultCulture(Locale value)
Specifies default Culture Info property that is being used for different culture related data conversion.
|
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 final String getCertificatesPath()
Gets or sets the signature certificates path. Default storage of certificate files when provided location is relative or single file name.
public static Locale getDefaultCulture()
Specifies default Culture Info property that is being used for different culture related data conversion.
public final 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 final String getOutputPath()
Gets or sets the Documents output path. Processed Documents will be stored to this location by default.
public final 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 final boolean load(String configFileName)
Load signature configuration from file.
configFileName
- Configuration file path.public final void save(String configFileName)
Save signature configuration to file.
configFileName
- Configuration file path.public final 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 static void setDefaultCulture(Locale value)
Specifies default Culture Info property that is being used for different culture related data conversion.
public final 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 final void setOutputPath(String value)
Gets or sets the Documents output path. Processed Documents will be stored to this location by default.
public final 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 © 2019. All rights reserved.