public void substitute() { substitute(callback); }
public void substitute() { substitute(callback); }
public void substitute() { substitute(callback); }
public void substitute() { substitute(callback); }
configProps.substitute();
Properties configProps = PropertiesLoader.loadPropertiesOrFail(configPropPath.toFile()); configProps.put("java.specification.version", javase.version); configProps.substitute();
Properties configProps = PropertiesLoader.loadPropertiesOrFail(configPropPath.toFile()); configProps.put("java.specification.version", javase.version); configProps.substitute();
configProps.put("java.specification.version", javase); configProps.substitute();
configProps.put("java.specification.version", javase); configProps.substitute();
/** * Reads a properties file and stores its internal structure. The found * properties will be added to the associated configuration object. * * @param in the reader to the properties file * @throws java.io.IOException if an error occurs */ protected void loadLayout(Reader in) throws IOException { PropertiesReader reader = new PropertiesReader(in); while (reader.nextProperty()) { storage.put(reader.getPropertyName(), reader.getPropertyValue()); int idx = checkHeaderComment(reader.getCommentLines()); layout.put(reader.getPropertyName(), new Layout(idx < reader.getCommentLines().size() ? new ArrayList<String>(reader.getCommentLines().subList(idx, reader.getCommentLines().size())) : null, new ArrayList<String>(reader.getValueLines()))); } footer = new ArrayList<String>(reader.getCommentLines()); if (substitute) { substitute(); } }