Package com.ironsoftware.ironpdf
Class Settings
java.lang.Object
com.ironsoftware.ironpdf.Settings
Important global settings for configuration of IronPDF for Java
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringGet IronPDF engine host string.static intGet IronPdf engine port int.static StringGets IronPDF engine version.static PathGets path to IronPDF engine working directory.static PathGets IronPDF engine log file path.static PathGet temp folder path.static booleanisDebug()Is debug boolean.static voidsetDebug(boolean isDebug) Enable or disable debug mode.static voidsetIronPdfEngineHost(String host) Set IronPDF engine host.static voidsetIronPdfEnginePort(int port) Set IronPdf engine port.static voidSets path to IronPDF engine working directory.static voidsetLogPath(Path path) Sets IronPDF engine log file path.static voidsetTempFolderPath(Path tempFolderPath) Set temp folder path.static voidUse IronPDF engine docker.static voiduseIronPdfEngineDocker(int port) Use IronPDF engine docker.
- 
Constructor Details- 
Settingspublic Settings()
 
- 
- 
Method Details- 
getIronPdfEngineVersionGets IronPDF engine version.- Returns:
- The current IronPdfEngine version
 
- 
isDebugpublic static boolean isDebug()Is debug boolean.- Returns:
- true if debug mode is enabled.
 
- 
setDebugpublic static void setDebug(boolean isDebug) Enable or disable debug mode.***Recommended to set before calling any IronPdf function.*** - Parameters:
- isDebug- the is debug enabled
 
- 
getIronPdfEngineWorkingDirectoryGets path to IronPDF engine working directory. default is current directory. If IronPdfEngine binary does not exist, We will download automatically to this folder.- Returns:
- custom IronPdfEngine folder.
 
- 
setIronPdfEngineWorkingDirectorySets path to IronPDF engine working directory. default is current directory. If IronPdfEngine binary does not exist, We will download automatically to this folder.***Recommended to set before calling any IronPdf function.*** - Parameters:
- path- the path
- Throws:
- IOException- the io exception
 
- 
getLogPathGets IronPDF engine log file path.- Returns:
- the log file path
 
- 
setLogPathSets IronPDF engine log file path.***Recommended to set before calling any IronPdf function.*** - Parameters:
- path- the log file path
 
- 
setIronPdfEngineHostSet IronPDF engine host.- Parameters:
- host- the host
 
- 
getIronPdfEngineHostGet IronPDF engine host string.- Returns:
- the host string
 
- 
setIronPdfEnginePortpublic static void setIronPdfEnginePort(int port) Set IronPdf engine port. Default port will pick automatically.- Parameters:
- port- the port
 
- 
getIronPdfEnginePortpublic static int getIronPdfEnginePort()Get IronPdf engine port int. Default port will pick automatically.- Returns:
- the port int
 
- 
setTempFolderPathSet temp folder path.- Parameters:
- tempFolderPath- the temp folder path
 
- 
getTempFolderPathGet temp folder path.- Returns:
- the path
 
- 
useIronPdfEngineDockerpublic static void useIronPdfEngineDocker()Use IronPDF engine docker. All PDF operation will happen on the connected IronPDF engine docker. This setting required IronPdfEngine is already up and running in docker. (with default port) License key need to set as a Docker environment.Get IronPDF engine docker @see official-ironpdfengine-docker} 
- 
useIronPdfEngineDockerpublic static void useIronPdfEngineDocker(int port) Use IronPDF engine docker. All PDF operation will happen on the connected IronPDF engine docker. This setting required IronPdfEngine is already up and running in docker. (on the given port) License key need to set as a Docker environment.Get IronPDF engine docker @see official-ironpdfengine-docker} - Parameters:
- port- Set the port for IronPdfEngineDocker to listen on
 
 
-