TavernerPOS - Source Code
Clone:
git clone http://www.librarysmith.co.uk/tavernerPOS
Index
» tavernerPOS : Blob f83dae / .svn / pristine / 6a / 6a6e1d356e4572e715c5c6e0a3073a2718741b87.svn-base
package com.floreantpos.config;
import org.apache.commons.configuration.PropertiesConfiguration;
public class AppProperties {
private static PropertiesConfiguration properties;
static {
try {
properties = new PropertiesConfiguration(AppProperties.class.getResource("/app.properties")); //$NON-NLS-1$
} catch (Exception e) {
e.printStackTrace();
}
}
public static String getVersion() {
return properties.getString("floreantpos.version"); //$NON-NLS-1$
}
}
- Details
- Last Updated: Monday, 04 April 2016 02:04
- Hits: 35780621