public class StringUtils extends Object
| Constructor and Description |
|---|
StringUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
toQuotedString(Binary bin,
int stringLength,
boolean appendIfTruncated)
Converts the Binary to a quoted string.
|
public static String toQuotedString(Binary bin, int stringLength, boolean appendIfTruncated)
bin - the Binary to convertstringLength - the maximum length of stringified content (excluding the quotes, and truncated indicator)appendIfTruncated - appends "...(truncated)" if not all of the payload is present in the stringCopyright © 2017 The Apache Software Foundation. All rights reserved.