/** * Loads properties from the classpath. */ public PropertiesVersions(Class<?> clazz, String resource) throws IOException { this(PropertiesUtils.loadFromResource(clazz, resource)); }
private static String getProperty(String name) throws IOException { synchronized (propsLock) { if (props == null) props = PropertiesUtils.loadFromResource(AOServClientConfiguration.class, "aoserv-client.properties"); return props.getProperty(name); } }