public class UtilString extends Object
Modifier and Type | Method and Description |
---|---|
static String |
concat(Object... s)
Simply concatenate objects in a single string.
|
static String |
encodeB64(byte[] b) |
static String |
encodeB64(String s) |
static String |
escapeEol(String value)
This method replace all occurrences of '\n', '\r\n' and '\r' with
predefined strings "_PPF_LF", "_PPF_CRLF" and "_PPF_CR".
|
static String |
quoted(String s)
Surround a string by quotes
|
public static String encodeB64(String s)
s
- an input Stringpublic static String encodeB64(byte[] b)
b
- an input byte arraypublic static String escapeEol(String value)
value
- valuepublic static String concat(Object... s)
s
- the list of stringsCopyright © 2014–2023. All rights reserved.