@Override public Properties getProperties() { if (props == null) { props = loadPropertiesFromFile(file); } return props; }
public RoxyTokenReplacer() { super(); setPropertyPrefix("@ml."); addPropertiesSource(new FilePropertiesSource(new File("deploy/default.properties"))); addPropertiesSource(new FilePropertiesSource(new File("deploy/build.properties"))); addPropertiesSource(new FilePropertiesSource(new File("deploy/local.properties"))); }