jodd-props/src/main/java/jodd/props/PropsConverter.java
public static void convert(final Writer writer, final Properties properties, final Map<String, Properties> profiles)
			throws IOException {

		final PropertiesToProps toProps = new PropertiesToProps();
		toProps.convertToWriter(writer, properties, profiles);
	}
public static void convert(final Writer writer, final Properties properties, final Map<String, Properties> profiles)
			throws IOException {

		final PropertiesToProps toProps = new PropertiesToProps();
		toProps.convertToWriter(writer, properties, profiles);
	}
public static void convert ( final Writer writer , final Properties properties , final Map < String , Properties > profiles ) throws IOException { final PropertiesToProps toProps = new PropertiesToProps ( ) ; toProps . convertToWriter ( writer , properties , profiles ) ; }
Convert Java Properties to Jodd Props format.

@param writer     Writer to write Props formatted file content to
@param properties Properties to convert to Props format
@param profiles   Properties per profile to convert and add to the Props format
@throws IOException On any I/O error when writing to the writer
Convert Java Properties to Jodd Props format .