Package qupath.lib.gui.scripting.syntax
Class ScriptSyntaxProvider
java.lang.Object
qupath.lib.gui.scripting.syntax.ScriptSyntaxProvider
Class with static methods to fetch all the available ScriptSyntaxes.
- Since:
- v0.4.0
- Author:
- Pete Bankhead
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ScriptSyntax
static final ScriptSyntax
static final ScriptSyntax
static final ScriptSyntax
static final ScriptSyntax
static final ScriptSyntax
static final ScriptSyntax
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection
<ScriptSyntax> Get the available script syntaxes.static ScriptSyntax
getSyntaxFromName
(String name) Get a script syntax from a specified language name.
-
Field Details
-
GROOVY
-
XML
-
YAML
-
JSON
-
PLAIN
-
PROPERTIES
-
PYTHON
-
-
Constructor Details
-
ScriptSyntaxProvider
public ScriptSyntaxProvider()
-
-
Method Details
-
getAvailableSyntaxes
Get the available script syntaxes.- Returns:
-
getSyntaxFromName
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:
-