public class PropsConverter
extends java.lang.Object
| Constructor and Description |
|---|
PropsConverter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
convert(java.io.Writer writer,
java.util.Properties properties)
Convert Java Properties to Jodd Props format.
|
static void |
convert(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.
|
public static void convert(java.io.Writer writer,
java.util.Properties properties)
throws java.io.IOException
writer - Writer to write Props formatted file content toproperties - Properties to convert to Props formatjava.io.IOException - On any I/O error when writing to the writerpublic static void convert(java.io.Writer writer,
java.util.Properties properties,
java.util.Map<java.lang.String,java.util.Properties> profiles)
throws java.io.IOException
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 formatjava.io.IOException - On any I/O error when writing to the writerCopyright © 2003-present Jodd Team