Пример #1
0
 public static String getProperty(String key) {
   if (instance.properties == null) {
     instance.loadProperties();
   }
   return instance.properties.getProperty(key);
 }
Пример #2
0
 public static void setPropertiesLocation(String filepath) {
   instance.setPropertiesFile(filepath);
 }
Пример #3
0
 public static String getVersionedFilename(final String filename) {
   return filename + "-" + Configuration.getInstance().getVersion();
 }