Class StringUtils
java.lang.Object
org.apache.qpid.proton.engine.impl.StringUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
toQuotedString
(Binary bin, int stringLength, boolean appendIfTruncated) Converts the Binary to a quoted string.
-
Constructor Details
-
StringUtils
public StringUtils()
-
-
Method Details
-
toQuotedString
Converts the Binary to a quoted string.- Parameters:
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 string- Returns:
- the converted string
-