Esempio n. 1
0
 public String getSourceString(String code) {
   try {
     return mResource.getString(SOURCE_PROPERTY + code);
   } catch (MissingResourceException e) {
     return code;
   }
 }
Esempio n. 2
0
 public String getLevelString(String code) {
   try {
     return mResource.getString(LEVEL_PROPERTY + code);
   } catch (MissingResourceException e) {
     return code;
   }
 }