| java.lang.Object com.etymon.pj.tools.PjScript
PjScript | public class PjScript (Code) | | Implements a PDF scripting language.
Possible result codes are 0 (scripts executed normally), 1 (error
reading script), 2 (syntax error in script), and 3 (error executing
script command).
author: Nassib Nassar |
Method Summary | |
public static void | main(String[] args) | public static Pdf | script(String source, BufferedReader br, String[] args) Creates or modifies PDF files based on a script.
Parameters: source - the file or program name where the scriptoriginates. |
script | public static Pdf script(String source, BufferedReader br, String[] args) throws PjScriptException(Code) | | Creates or modifies PDF files based on a script.
Parameters: source - the file or program name where the scriptoriginates. This is used in printing error messages. Parameters: br - the input stream containing the script. Parameters: args - the arguments to the script. the resultant PDF document. exception: PjScriptException - if an error occurs. |
|
|