Packages

 

com.groupdocs.signature.config

Class SignatureConfig



  • public class SignatureConfig
    extends Object

    Represents configuration settings for document processing operations. Provides methods for loading and saving configuration file.

    • Constructor Detail

      • SignatureConfig

        public SignatureConfig()

        Creates signature configuration with default settings.

      • SignatureConfig

        public SignatureConfig(String configFileName)

        Creates signature configuration with settings from file.

        Parameters:
        configFileName - Configuration file path.
      • SignatureConfig

        public SignatureConfig(String storagePath,
                       String outputPath,
                       String imagesPath,
                       String certificatesPath)

        Creates Signature Configuration with specified paths.

        Parameters:
        storagePath - Storage path for source files.
        outputPath - Output path for signed documents.
        imagesPath - Images path.
        certificatesPath - Path with digital certificates and keys.
    • Method Detail

      • getCertificatesPath

        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.

      • getDefaultCulture

        public static Locale getDefaultCulture()

        Specifies default Culture Info property that is being used for different culture related data conversion.

      • getImagesPath

        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.

      • getOutputPath

        public final String getOutputPath()

        Gets or sets the Documents output path. Processed Documents will be stored to this location by default.

      • getStoragePath

        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.

      • load

        public final boolean load(String configFileName)

        Load signature configuration from file.

        Parameters:
        configFileName - Configuration file path.
        Returns:
      • save

        public final void save(String configFileName)

        Save signature configuration to file.

        Parameters:
        configFileName - Configuration file path.
      • setCertificatesPath

        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.

      • setDefaultCulture

        public static void setDefaultCulture(Locale value)

        Specifies default Culture Info property that is being used for different culture related data conversion.

      • setImagesPath

        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.

      • setOutputPath

        public final void setOutputPath(String value)

        Gets or sets the Documents output path. Processed Documents will be stored to this location by default.

      • setStoragePath

        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.