|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjodd.props.PropsUtil
public class PropsUtil
Some Props utilities.
| Constructor Summary | |
|---|---|
PropsUtil()
|
|
| Method Summary | |
|---|---|
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 |
static Props |
createFromClasspath(java.lang.String... patterns)
Creates new props and loads from classpath. |
static void |
loadFromClasspath(Props p,
java.lang.String... patterns)
Loads props from classpath. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropsUtil()
| Method Detail |
|---|
public static void loadFromClasspath(Props p,
java.lang.String... patterns)
public static Props createFromClasspath(java.lang.String... patterns)
loads from classpath.
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 format
java.io.IOException - On any I/O error when writing to the writer
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.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 format
java.io.IOException - On any I/O error when writing to the writer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||