Пример #1
0
 /**
  * ******************************************************************* As toString() but with
  * indentations. ************************************************************************
  */
 public String format(int indent) {
   String tabs = GenUtils.indent(indent);
   return tabs
       + "[CondDef]"
       + " verlevel="
       + GenUtils.inverseMapping(getInt(VERLEVEL), verlevels)
       + " owner="
       + GenUtils.inverseMapping(getInt(OWNER), owners)
       + "\n"
       + options.format(indent + 1);
 }
Пример #2
0
 public int getInt(String key) {
   return options.getInt(key);
 }
Пример #3
0
 public String get(String key) {
   return options.getStr(key);
 }
Пример #4
0
 public boolean exists(String key) {
   return options.exists(key);
 }
Пример #5
0
 /**
  * ******************************************************************* Convenient methods for
  * accessing 'options' *******************************************************************
  */
 public boolean is(String key) {
   return options.is(key);
 }