TavernerPOS - Source Code
Clone:
git clone http://www.librarysmith.co.uk/tavernerPOS
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("tavernerpos.version"); //$NON-NLS-1$
}
}
- Details
- Last Updated: Monday, 04 April 2016 02:04
- Hits: 35815236