/** * Converts this ConfigObject ino the java.util.Properties format, flatten the tree and prefixing all entries with the given prefix * * @param prefix The prefix to append before property entries * @return A java.util.Properties instance */ public Properties toProperties(String prefix) { Properties props = new Properties(); populate(prefix + ".", props, this); props = convertValuesToString(props); return props; }
/** * Converts this ConfigObject into a the java.util.Properties format, flattening the tree structure beforehand * * @return A java.util.Properties instance */ public Properties toProperties() { Properties props = new Properties(); flatten(props); props = convertValuesToString(props); return props; }
/** * Converts this ConfigObject ino the java.util.Properties format, flatten the tree and prefixing all entries with the given prefix * * @param prefix The prefix to append before property entries * @return A java.util.Properties instance */ public Properties toProperties(String prefix) { Properties props = new Properties(); populate(prefix + ".", props, this); props = convertValuesToString(props); return props; }
/** * Converts this ConfigObject into a the java.util.Properties format, flattening the tree structure beforehand * * @return A java.util.Properties instance */ public Properties toProperties() { Properties props = new Properties(); flatten(props); props = convertValuesToString(props); return props; }