Class ScriptSyntaxProvider

java.lang.Object
qupath.lib.gui.scripting.syntax.ScriptSyntaxProvider

public class ScriptSyntaxProvider extends Object
Class with static methods to fetch all the available ScriptSyntaxes.
Since:
v0.4.0
Author:
Pete Bankhead
  • Field Details

  • Constructor Details

    • ScriptSyntaxProvider

      public ScriptSyntaxProvider()
  • Method Details

    • getAvailableSyntaxes

      public static Collection<ScriptSyntax> getAvailableSyntaxes()
      Get the available script syntaxes.
      Returns:
    • getSyntaxFromName

      public static ScriptSyntax getSyntaxFromName(String name)
      Get a script syntax from a specified language name. If no specific syntax is found, then a general-purpose (plain) syntax will be returned.
      Parameters:
      name -
      Returns: