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

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

Best Java code snippets using it.geosolutions.jaiext.jiffle.Jiffle.getImageParams (Showing top 3 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: geosolutions-it/jai-ext

@Test(expected=UnsupportedOperationException.class)
public void tryToModifyImageParams() {
  System.out.println("   trying to modify map returned by getImageParams");
  
  imageParams.put("dest", Jiffle.ImageRole.DEST);
  jiffle.setImageParams(imageParams);
  
  Map<String, Jiffle.ImageRole> unmodifiableMap = jiffle.getImageParams();
  
  // this should provoke an exception
  unmodifiableMap.clear();
}
origin: geosolutions-it/jai-ext

@Test
public void setImageParams() {
  System.out.println("   set and get image params");
  
  imageParams.put("src1", Jiffle.ImageRole.SOURCE);
  imageParams.put("src2", Jiffle.ImageRole.SOURCE);
  imageParams.put("dest1", Jiffle.ImageRole.DEST);
  imageParams.put("dest2", Jiffle.ImageRole.DEST);
  jiffle.setImageParams(imageParams);
  
  Map<String, Jiffle.ImageRole> result = jiffle.getImageParams();
  assertEquals(imageParams.size(), result.size());
  for (String name : imageParams.keySet()) {
    assertTrue(imageParams.get(name).equals(result.get(name)));
  }
}

origin: geosolutions-it/jai-ext

@Test
public void blankInstance() {
  System.out.println("   creating an empty Jiffle object");
  
  assertEquals("", jiffle.getScript());
  assertTrue(jiffle.getImageParams().isEmpty());
  assertFalse(jiffle.isCompiled());
}

it.geosolutions.jaiext.jiffleJifflegetImageParams

Javadoc

Gets the current image parameters. The parameters are returned as an unmodifiable map.

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
  • createRuntimeSource
  • getName
    Gets the name assigned to this object. This will either be the default name or one assigned by the c
  • createRuntimeSource,
  • 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