[
https://issues.apache.org/jira/browse/BSF-13?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb updated BSF-13:
--------------------
Attachment: patch.txt
Initial stab at a patch for BSFManager, plus test cases.
The new methods return an unmodifiable Set rather than a List, as this was easy
to do - and the advantage is that the Set is dynamic.
TODO: list of available languages
> BSFManager language registry enhancements
> -----------------------------------------
>
> Key: BSF-13
> URL: https://issues.apache.org/jira/browse/BSF-13
> Project: BSF
> Issue Type: New Feature
> Affects Versions: BSF-2.4
> Reporter: Sebb
> Priority: Minor
> Attachments: patch.txt
>
>
> BSFManager could give access to the registered languages, perhaps via an
> unmodifiable List.
> It might also be useful to optionally check if the relevant classes are
> present (without loading them).
> This could be used for GUIs that want to display a list of available
> languages.
> It would probably also be useful to be able to look up the file extensions
> associated with a language; GUIs could make use of this.
> [I can probably provide a patch against 2.4 later this week]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]