Package jodd.props
Class PropsConverter
- java.lang.Object
-
- jodd.props.PropsConverter
-
public class PropsConverter extends java.lang.ObjectConverter of Java Properties to Jodd Props format.
-
-
Constructor Summary
Constructors Constructor Description PropsConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconvert(java.io.Writer writer, java.util.Properties properties)Convert Java Properties to Jodd Props format.static voidconvert(java.io.Writer writer, java.util.Properties properties, java.util.Map<java.lang.String,java.util.Properties> profiles)Convert Java Properties to Jodd Props format.
-
-
-
Method Detail
-
convert
public static void convert(java.io.Writer writer, java.util.Properties properties) throws java.io.IOExceptionConvert Java Properties to Jodd Props format.- Parameters:
writer- Writer to write Props formatted file content toproperties- Properties to convert to Props format- Throws:
java.io.IOException- On any I/O error when writing to the writer
-
convert
public static void convert(java.io.Writer writer, java.util.Properties properties, java.util.Map<java.lang.String,java.util.Properties> profiles) throws java.io.IOExceptionConvert Java Properties to Jodd Props format.- Parameters:
writer- Writer to write Props formatted file content toproperties- Properties to convert to Props formatprofiles- Properties per profile to convert and add to the Props format- Throws:
java.io.IOException- On any I/O error when writing to the writer
-
-