public class FilterCodecUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull java.lang.String |
decodeString(@NotNull java.lang.StringBuilder sb)
Decodes a string from a string builder.
|
static void |
encodeString(@NotNull java.lang.StringBuilder sb,
@NotNull java.lang.String string)
Encodes a string configuration to a string builder.
|
public static void encodeString(@NotNull
@NotNull java.lang.StringBuilder sb,
@NotNull
@NotNull java.lang.String string)
sb - the string builder to append tostring - the string to encode@NotNull
public static @NotNull java.lang.String decodeString(@NotNull
@NotNull java.lang.StringBuilder sb)
sb - the string buiilder to decode; the decoded string will be
removedjava.lang.NumberFormatException - if decoding failsjava.lang.StringIndexOutOfBoundsException - if decoding fails