com.lowagie.tools
public class Executable extends Object
Field Summary | |
---|---|
static String | acroread
The path to Acrobat Reader. |
Method Summary | |
---|---|
static Process | action(String fileName, String parameters, boolean waitForTermination)
Performs an action on a PDF document. |
static boolean | isLinux()
Checks the Operating System.
|
static boolean | isMac()
Checks the Operating System.
|
static boolean | isWindows()
Checks the Operating System.
|
static boolean | isWindows9X()
Checks the Operating System.
|
static void | launchBrowser(String url)
Launches a browser opening an URL.
|
static Process | openDocument(String fileName, boolean waitForTermination)
Opens a PDF document. |
static Process | openDocument(File file, boolean waitForTermination)
Opens a PDF document. |
static Process | openDocument(String fileName)
Opens a PDF document. |
static Process | openDocument(File file)
Opens a PDF document. |
static Process | printDocument(String fileName, boolean waitForTermination)
Prints a PDF document. |
static Process | printDocument(File file, boolean waitForTermination)
Prints a PDF document. |
static Process | printDocument(String fileName)
Prints a PDF document. |
static Process | printDocument(File file)
Prints a PDF document. |
static Process | printDocumentSilent(String fileName, boolean waitForTermination)
Prints a PDF document without opening a Dialog box. |
static Process | printDocumentSilent(File file, boolean waitForTermination)
Prints a PDF document without opening a Dialog box. |
static Process | printDocumentSilent(String fileName)
Prints a PDF document without opening a Dialog box. |
static Process | printDocumentSilent(File file)
Prints a PDF document without opening a Dialog box. |
Parameters: fileName parameters waitForTermination
Returns: a process
Throws: IOException
Returns: true if the current os is Linux
Returns: true if the current os is Apple
Returns: true if the current os is Windows
Returns: true if the current os is Windows
Parameters: url the URL you want to open in the browser
Throws: IOException
Parameters: fileName waitForTermination
Returns: a process
Throws: IOException
Parameters: file waitForTermination
Returns: a process
Throws: IOException
Parameters: fileName
Returns: a process
Throws: IOException
Parameters: file
Returns: a process
Throws: IOException
Parameters: fileName waitForTermination
Returns: a process
Throws: IOException
Parameters: file waitForTermination
Returns: a process
Throws: IOException
Parameters: fileName
Returns: a process
Throws: IOException
Parameters: file
Returns: a process
Throws: IOException
Parameters: fileName waitForTermination
Returns: a process
Throws: IOException
Parameters: file waitForTermination
Returns: a process
Throws: IOException
Parameters: fileName
Returns: a process
Throws: IOException
Parameters: file
Returns: a process
Throws: IOException