BrightSide Workbench Full Report + Source Code
All Classes Namespaces Files Functions Variables Pages
org.turro.plugin.PluginChecker Class Reference

Static Public Member Functions

static Object get (String key)
 
static boolean exists (String key)
 

Detailed Description

Author
Lluis Turró Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 26 of file PluginChecker.java.

Member Function Documentation

◆ exists()

static boolean org.turro.plugin.PluginChecker.exists ( String  key)
static

Definition at line 83 of file PluginChecker.java.

83  {
84  for(String p[] : plugs) {
85  if(key.equals(p[0])) {
86  return ReflectionUtil.classCheck(p[1]) != null;
87  }
88  }
89  return false;
90  }

◆ get()

static Object org.turro.plugin.PluginChecker.get ( String  key)
static

Definition at line 74 of file PluginChecker.java.

74  {
75  for(String p[] : plugs) {
76  if(key.equals(p[0])) {
77  return ReflectionUtil.instance(ReflectionUtil.classCheck(p[1]));
78  }
79  }
80  return null;
81  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: