Class Setting_Api


  • public final class Setting_Api
    extends Object
    The type Setting api.
    • Field Detail

      • subProcessPort

        public static int subProcessPort
        The constant subProcessPort.
      • licenseKey

        public static String licenseKey
        The constant licenseKey.
      • enableDebug

        public static boolean enableDebug
        The constant enableDebug.
      • logPath

        public static Path logPath
        Path to IronPdfEngine log.
      • ironPdfEngineWorkingDirectory

        public static Path ironPdfEngineWorkingDirectory
        Path to IronPdfEngine working directory. default is current directory. If IronPdfEngine binary does not exist, we will download automatically to this folder.
      • subProcessHost

        public static String subProcessHost
        The constant subProcessHost.
      • tempFolderPath

        public static Path tempFolderPath
      • IRON_PDF_ENGINE_VERSION

        public static final String IRON_PDF_ENGINE_VERSION
        The constant IRON_PDF_ENGINE_VERSION.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Setting_Api

        public Setting_Api()
    • Method Detail

      • getDefaultPort

        public static int getDefaultPort()
        Find free port int.
        Returns:
        the int
      • getIronPdfEngineFolderName

        public static String getIronPdfEngineFolderName()
      • getIronPdfEngineZipName

        public static String getIronPdfEngineZipName()
      • getIronPdfEngineExecutableFileName

        public static String getIronPdfEngineExecutableFileName()
      • getIronPdfEngineExecutablePath

        public static Path getIronPdfEngineExecutablePath​(Path workingDir)
        Gets custom iron pdf engine path.
        Returns:
        the custom iron pdf engine path
      • useIronPdfEngineDocker

        public static void useIronPdfEngineDocker​(int port)