![]() |
Gridarta Editor
|
Utility class for codec related functions. More...
Static Public Member Functions | |
static String | decodeString (@NotNull final StringBuilder sb) |
Decodes a string from a string builder. More... | |
static void | encodeString (@NotNull final StringBuilder sb, @NotNull final String string) |
Encodes a string configuration to a string builder. More... | |
Private Member Functions | |
FilterCodecUtils () | |
Private constructor to prevent instantiation. More... | |
Utility class for codec related functions.
Definition at line 27 of file FilterCodecUtils.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 32 of file FilterCodecUtils.java.
|
static |
Decodes a string from a string builder.
Decoding stops at the end of the string or at the first unescaped "," or ")" character.
sb | the string buiilder to decode; the decoded string will be removed |
NumberFormatException | if decoding fails |
StringIndexOutOfBoundsException | if decoding fails |
Definition at line 60 of file FilterCodecUtils.java.
Referenced by net.sf.gridarta.model.filter.FilterCodecUtilsTest.check(), net.sf.gridarta.model.filter.FilterCodecUtilsTest.decodeString1(), net.sf.gridarta.model.filter.FilterCodecUtilsTest.decodeString2(), net.sf.gridarta.model.filter.FilterCodecUtilsTest.decodeString3(), net.sf.gridarta.model.filter.FilterCodecUtilsTest.decodeString4(), and net.sf.gridarta.model.filter.FilterCodecUtilsTest.decodeString5().
|
static |
Encodes a string configuration to a string builder.
sb | the string builder to append to |
string | the string to encode |
Definition at line 40 of file FilterCodecUtils.java.
Referenced by net.sf.gridarta.model.filter.FilterCodecUtilsTest.check().