Class XMLProfile

  • All Implemented Interfaces:
    IProfile, java.io.Serializable

    public class XMLProfile
    extends SourceProfile
    The class contains configuration data from an XML file. It is a read-only profile based on this file.
    Since:
    4.0
    See Also:
    Serialized Form
    • Constructor Detail

      • XMLProfile

        public XMLProfile​(java.io.File xmlProfileFile)
                   throws java.lang.IllegalArgumentException,
                          java.util.InvalidPropertiesFormatException
        Creates a new i-net PDFC configuration, based on the xmlProfileFile.
        Parameters:
        xmlProfileFile - the configuration file to load the properties from
        Throws:
        java.lang.IllegalArgumentException - if the configuration file does not exist.
        java.util.InvalidPropertiesFormatException - if the file is not a valid xml configuration file.
        Since:
        4.0