Package org.fugerit.java.core.util
Class PropertyEntry
- java.lang.Object
-
- org.fugerit.java.core.util.MapEntry<String,String>
-
- org.fugerit.java.core.util.PropertyEntry
-
-
Constructor Summary
Constructors Constructor Description PropertyEntry()
PropertyEntry(String key, String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyEntry
newEntry(String key, String value)
static void
printAll(StringBuilder builder, PropertyEntry... entries)
static void
printOne(StringBuilder builder, PropertyEntry entry)
String
setProperty(Properties props)
String
toSimpleString()
String
toString()
-
Methods inherited from class org.fugerit.java.core.util.MapEntry
getKey, getValue, put, setKey, setValue
-
-
-
-
Method Detail
-
setProperty
public String setProperty(Properties props)
-
newEntry
public static PropertyEntry newEntry(String key, String value) throws ConfigException
- Throws:
ConfigException
-
printOne
public static void printOne(StringBuilder builder, PropertyEntry entry)
-
printAll
public static void printAll(StringBuilder builder, PropertyEntry... entries)
-
toSimpleString
public String toSimpleString()
-
-