| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultMimeType()
Returns the default MIME type that is in use by a language.
|
java.lang.String |
getId()
Gets the primary identification string of this language.
|
java.lang.String |
getImplementationName()
Gets a human-readable name of the language implementation (for example, "Graal.JS").
|
java.util.Set<java.lang.String> |
getMimeTypes()
Returns the MIME types supported by this language.
|
java.lang.String |
getName()
Gets a human-readable name for the language (for example, "JavaScript").
|
OptionDescriptors |
getOptions()
Returns the set of options provided by this language.
|
java.lang.String |
getVersion()
Gets the version information of the language in an arbitrary language-specific format.
|
java.lang.String |
getWebsite()
Get the URL for the language website.
|
boolean |
isInteractive()
Returns
true if a the language is suitable for interactive evaluation of
sources. |
public java.lang.String getId()
js)public java.lang.String getName()
public java.lang.String getImplementationName()
null if no implementation name was specified.public java.lang.String getVersion()
public boolean isInteractive()
true if a the language is suitable for interactive evaluation of
sources. Interactive languages should be displayed in
interactive environments and presented to the user.public OptionDescriptors getOptions()
engine or a
context. The option descriptor
name must be used as the option name.public java.lang.String getDefaultMimeType()
null if the language does not specify a default MIME type.Source.hasBytes(),
Source.getMimeType()public java.util.Set<java.lang.String> getMimeTypes()
Source.getMimeType()public java.lang.String getWebsite()