de.deepamehta.core.impl
Class PluginInfoImpl

Show UML class diagram
java.lang.Object
  extended by de.deepamehta.core.impl.PluginInfoImpl
All Implemented Interfaces:
JSONEnabled, PluginInfo

 class PluginInfoImpl
extends Object
implements PluginInfo


Field Summary
private  Logger logger
           
private static String PLUGIN_FILE
           
private static String PLUGIN_HELPER_PATH
           
private static String PLUGIN_RENDERERS_PATH
           
private static String PLUGIN_STYLE_PATH
           
private  Bundle pluginBundle
           
private  JSONObject pluginInfo
           
 
Constructor Summary
PluginInfoImpl(String pluginUri, Bundle pluginBundle)
           
 
Method Summary
private  List<String> getFilenames(String path)
           
private  List<String> getHelper()
           
private  JSONObject getRenderers()
           
private  List<String> getRenderers(String renderersDir)
           
private  List<String> getStylesheets()
           
private  boolean hasPluginFile()
           
 JSONObject toJSON()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_FILE

private static final String PLUGIN_FILE
See Also:
Constant Field Values

PLUGIN_RENDERERS_PATH

private static final String PLUGIN_RENDERERS_PATH
See Also:
Constant Field Values

PLUGIN_HELPER_PATH

private static final String PLUGIN_HELPER_PATH
See Also:
Constant Field Values

PLUGIN_STYLE_PATH

private static final String PLUGIN_STYLE_PATH
See Also:
Constant Field Values

pluginBundle

private Bundle pluginBundle

pluginInfo

private JSONObject pluginInfo

logger

private Logger logger
Constructor Detail

PluginInfoImpl

PluginInfoImpl(String pluginUri,
               Bundle pluginBundle)
Method Detail

toJSON

public JSONObject toJSON()
Specified by:
toJSON in interface JSONEnabled

hasPluginFile

private boolean hasPluginFile()

getStylesheets

private List<String> getStylesheets()

getRenderers

private JSONObject getRenderers()
                         throws JSONException
Throws:
JSONException

getHelper

private List<String> getHelper()

getRenderers

private List<String> getRenderers(String renderersDir)

getFilenames

private List<String> getFilenames(String path)


Copyright © 2014. All Rights Reserved.