public final class Settings extends Object
Constructor and Description |
---|
Settings() |
Modifier and Type | Method and Description |
---|---|
static String |
getIronPdfEngineHost()
Get IronPDF engine host string.
|
static int |
getIronPdfEnginePort()
Get IronPdf engine port int.
|
static String |
getIronPdfEngineVersion()
Gets IronPDF engine version.
|
static Path |
getIronPdfEngineWorkingDirectory()
Gets path to IronPDF engine working directory.
|
static Path |
getLogPath()
Gets IronPDF engine log file path.
|
static Path |
getTempFolderPath()
Get temp folder path.
|
static boolean |
isDebug()
Is debug boolean.
|
static void |
setDebug(boolean isDebug)
Enable or disable debug mode.
|
static void |
setIronPdfEngineHost(String host)
Set IronPDF engine host.
|
static void |
setIronPdfEnginePort(int port)
Set IronPdf engine port.
|
static void |
setIronPdfEngineWorkingDirectory(Path path)
Sets path to IronPDF engine working directory.
|
static void |
setLogPath(Path path)
Sets IronPDF engine log file path.
|
static void |
setTempFolderPath(Path tempFolderPath)
Set temp folder path.
|
static void |
useIronPdfEngineDocker()
Use IronPDF engine docker.
|
static void |
useIronPdfEngineDocker(int port)
Use IronPDF engine docker.
|
public static String getIronPdfEngineVersion()
public static boolean isDebug()
public static void setDebug(boolean isDebug)
***Recommended to set before calling any IronPdf function.***
isDebug
- the is debug enabledpublic static Path getIronPdfEngineWorkingDirectory()
public static void setIronPdfEngineWorkingDirectory(Path path) throws IOException
***Recommended to set before calling any IronPdf function.***
path
- the pathIOException
- the io exceptionpublic static Path getLogPath()
public static void setLogPath(Path path)
***Recommended to set before calling any IronPdf function.***
path
- the log file pathpublic static void setIronPdfEngineHost(String host)
host
- the hostpublic static String getIronPdfEngineHost()
public static void setIronPdfEnginePort(int port)
port
- the portpublic static int getIronPdfEnginePort()
public static void setTempFolderPath(Path tempFolderPath)
tempFolderPath
- the temp folder pathpublic static Path getTempFolderPath()
public static void useIronPdfEngineDocker()
Get IronPDF engine docker @see official-ironpdfengine-docker}
public static void useIronPdfEngineDocker(int port)
Get IronPDF engine docker @see official-ironpdfengine-docker}
port
- Set the port for IronPdfEngineDocker to listen onCopyright © 2022–2023 Iron Software. All rights reserved.