jTracer  1.03
Stack trace visualization tool
boolean org.libcsdbg.jtracer.Registry.test ( String  section,
String  key 
)

Get a boolean entry.

Parameters
[in]sectionthe section name
[in]keythe entry key
Returns
true if the entry is "on", false otherwise (case is ignored)

Definition at line 166 of file Registry.java.

Referenced by org.libcsdbg.jtracer.Registry.debug(), and org.libcsdbg.jtracer.Registry.setup().

167  {
168  String entry = (String) get(section, key);
169  if (entry == null)
170  return false;
171 
172  return entry.toLowerCase().equals("on");
173  }

+ Here is the caller graph for this function: