public class StringBuilders extends Object
Constructor and Description |
---|
StringBuilders() |
Modifier and Type | Method and Description |
---|---|
static StringBuilder |
appendDqValue(StringBuilder sb,
Object value)
Appends in the following format: double quoted value.
|
static StringBuilder |
appendKeyDqValue(StringBuilder sb,
Map.Entry<String,String> entry)
Appends in the following format: key=double quoted value.
|
static StringBuilder |
appendKeyDqValue(StringBuilder sb,
String key,
Object value)
Appends in the following format: key=double quoted value.
|
public StringBuilders()
public static StringBuilder appendDqValue(StringBuilder sb, Object value)
sb
- a string buildervalue
- a value"value"
public static StringBuilder appendKeyDqValue(StringBuilder sb, Map.Entry<String,String> entry)
sb
- a string builderentry
- a map entrykey="value"
public static StringBuilder appendKeyDqValue(StringBuilder sb, String key, Object value)
sb
- a string builderkey
- a keyvalue
- a valuekey="value"
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.