Exemplo n.º 1
0
 /**
  * It seems like every PropertyConsumer wrestles with having a prefix or not. This method lets you
  * just get the prefix with a period on the end (for scoping purposes), or just returns an empty
  * String. Either way, you get a String you can slap on the beginning of your defined propery
  * names to get a valid property based on what the prefix is.
  */
 public static String getScopedPropertyPrefix(PropertyConsumer pc) {
   return getScopedPropertyPrefix(pc.getPropertyPrefix());
 }