/** * Creates a new instance. */ public Jiffle() { init(); }
/** * Creates a new instance. */ public Jiffle() { init(); }
/** * Creates a new instance by compiling the script read from {@code scriptFile}. * Using this constructor is equivalent to: * <pre><code> * Jiffle jiffle = new Jiffle(); * jiffle.setScript(scriptFile); * jiffle.setImageParams(params); * jiffle.compile(); * </code></pre> * * @param scriptFile file containing the Jiffle script * * @param params defines the names and roles of image variables * referred to in the script. * * @throws JiffleException on compilation errors */ public Jiffle(File scriptFile, Map<String, Jiffle.ImageRole> params) throws it.geosolutions.jaiext.jiffle.JiffleException { init(); setScript(scriptFile); setImageParams(params); compile(); }
/** * Creates a new instance by compiling the provided script. Using this * constructor is equivalent to: * <pre><code> * Jiffle jiffle = new Jiffle(); * jiffle.setScript(script); * jiffle.setImageParams(params); * jiffle.compile(); * </code></pre> * * @param script Jiffle source code to compile * * @param params defines the names and roles of image variables * referred to in the script. * @throws JiffleException on compilation errors * */ public Jiffle(String script, Map<String, Jiffle.ImageRole> params) throws it.geosolutions.jaiext.jiffle.JiffleException { init(); setScript(script); setImageParams(params); compile(); }
/** * Creates a new instance by compiling the provided script. Using this * constructor is equivalent to: * <pre><code> * Jiffle jiffle = new Jiffle(); * jiffle.setScript(script); * jiffle.setImageParams(params); * jiffle.compile(); * </code></pre> * * @param script Jiffle source code to compile * * @param params defines the names and roles of image variables * referred to in the script. * @throws JiffleException on compilation errors * */ public Jiffle(String script, Map<String, Jiffle.ImageRole> params) throws it.geosolutions.jaiext.jiffle.JiffleException { init(); setScript(script); setImageParams(params); compile(); }
/** * Creates a new instance by compiling the script read from {@code scriptFile}. * Using this constructor is equivalent to: * <pre><code> * Jiffle jiffle = new Jiffle(); * jiffle.setScript(scriptFile); * jiffle.setImageParams(params); * jiffle.compile(); * </code></pre> * * @param scriptFile file containing the Jiffle script * * @param params defines the names and roles of image variables * referred to in the script. * * @throws JiffleException on compilation errors */ public Jiffle(File scriptFile, Map<String, Jiffle.ImageRole> params) throws it.geosolutions.jaiext.jiffle.JiffleException { init(); setScript(scriptFile); setImageParams(params); compile(); }