Codota Logo
Jiffle.createRuntimeSource
Code IndexAdd Codota to your IDE (free)

How to use
createRuntimeSource
method
in
it.geosolutions.jaiext.jiffle.Jiffle

Best Java code snippets using it.geosolutions.jaiext.jiffle.Jiffle.createRuntimeSource (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: it.geosolutions.jaiext.jiffle/jt-jiffle-language

/**
 * Gets a copy of the Java source for the runtime class. The 
 * script must have been compiled before calling this method.
 * 
 * @param model the {@link Jiffle.RuntimeModel}
 * @param scriptInDocs whether to include the original Jiffle script
 *        in the class javadocs
 * 
 * @return source for the runtime class
 * @throws JiffleException   if the script has not been compiled or if errors
 *         occur in creating the runtime source code
 * 
 */
public String getRuntimeSource(Jiffle.RuntimeModel model, boolean scriptInDocs)
    throws it.geosolutions.jaiext.jiffle.JiffleException {
  return createRuntimeSource(model, getRuntimeBaseClass(model).getName(), scriptInDocs);
}
origin: geosolutions-it/jai-ext

/**
 * Gets a copy of the Java source for the runtime class. The 
 * script must have been compiled before calling this method.
 * 
 * @param model the {@link Jiffle.RuntimeModel}
 * @param scriptInDocs whether to include the original Jiffle script
 *        in the class javadocs
 * 
 * @return source for the runtime class
 * @throws JiffleException   if the script has not been compiled or if errors
 *         occur in creating the runtime source code
 * 
 */
public String getRuntimeSource(Jiffle.RuntimeModel model, boolean scriptInDocs)
    throws it.geosolutions.jaiext.jiffle.JiffleException {
  return createRuntimeSource(model, getRuntimeBaseClass(model).getName(), scriptInDocs);
}
origin: it.geosolutions.jaiext.jiffle/jt-jiffle-language

String runtimeSource = createRuntimeSource(model, runtimeClass.getName(), scriptInDocs);
if (LOGGER.isLoggable(Level.FINE)) {
  LOGGER.log(Level.FINE, "Jiffle script compiled to:\n\n" + runtimeSource);    
origin: geosolutions-it/jai-ext

String runtimeSource = createRuntimeSource(model, runtimeClass.getName(), scriptInDocs);
if (LOGGER.isLoggable(Level.FINE)) {
  LOGGER.log(Level.FINE, "Jiffle script compiled to:\n\n" + runtimeSource);    
it.geosolutions.jaiext.jiffleJifflecreateRuntimeSource

Popular methods of Jiffle

  • <init>
    Creates a new instance by compiling the provided script. Using this constructor is equivalent to: J
  • compile
    Compiles the script into Java source for the runtime class.
  • getRuntimeInstance
    Gets the runtime object for this script. The runtime object is an instance of JiffleRuntime. By defa
  • setImageParams
    Sets the image parameters. These define which variables in the script refer to images and their type
  • setScript
    Sets the script. Calling this method will clear any previous script and runtime objects.
  • isCompiled
    Tests whether the script has been compiled successfully.
  • getReadPositions
    A utility method returning the source positions used in a given script
  • getRuntimeSource
    Gets a copy of the Java source for the runtime class. The script must have been compiled before call
  • clearCompiledObjects
    Clears all compiler and runtime objects.
  • createRuntimeInstance
  • getImageParams
    Gets the current image parameters. The parameters are returned as an unmodifiable map.
  • getName
    Gets the name assigned to this object. This will either be the default name or one assigned by the c
  • getImageParams,
  • getName,
  • getRuntimeBaseClass,
  • getScript,
  • getScriptImageParams,
  • init,
  • parseScript,
  • reportMessages,
  • setName

Popular in Java

  • Start an intent from android
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • putExtra (Intent)
  • getApplicationContext (Context)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now