summaryrefslogtreecommitdiff
path: root/java/JoelibDescriptorInfo.java
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-10-08 10:43:43 +0200
committerChristoph Helma <helma@in-silico.ch>2015-10-08 10:43:43 +0200
commit1a56148aadef031c4f487bc23fda43f4ac5b7369 (patch)
tree3555c5883ed0c292b105c40c185ebba3e5bd4e3e /java/JoelibDescriptorInfo.java
parent394d564699756288569169ff3e198d6d7702f092 (diff)
parente3217075b602a950a0ee995fcfa731d97b5ba3eb (diff)
new master branch
Diffstat (limited to 'java/JoelibDescriptorInfo.java')
-rw-r--r--java/JoelibDescriptorInfo.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/java/JoelibDescriptorInfo.java b/java/JoelibDescriptorInfo.java
new file mode 100644
index 0000000..851d650
--- /dev/null
+++ b/java/JoelibDescriptorInfo.java
@@ -0,0 +1,15 @@
+import joelib2.feature.FeatureHelper;
+
+class JoelibDescriptorInfo {
+ public static void main(String[] args) {
+ FeatureHelper helper = FeatureHelper.instance();
+ System.out.println("---"); // document separator for Joelib debug messages
+ for (Object feature : helper.getNativeFeatures() ) {
+ System.out.println("- :java_class: \""+feature.toString()+"\"");
+ // methods for accessing feature descriptions e.g. with
+ // FeatureFactory.instance().getFeature(feature.toString()).getDescription().getText() or
+ // FeatureFactory.instance().getFeature(feature.toString()).getDescription().getHtml()
+ // are defunct
+ }
+ }
+}