| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | format(String
the input String value)Implements abstract org. Formats a field value by with a particular formatter transformation. |
| public String | getDescription()
Implements abstract org. Returns a description of the formatter. |
| public String | getExampleInput()
Implements abstract org. Returns an example input string of the formatter. |
| public String | getKey()
Implements abstract org. Returns a unique key for the formatter that can be used for its identification |
| public String | getName()
Implements abstract org. Returns a human readable name of the formatter usable for e.g. in the GUI |
| private boolean | Returns: true if at any index the brace count is negative.The string to check. value)Check if a string at any point has had more ending } braces than opening { ones. |
| RemoveEnclosingBracesFormatter | back to summary |
|---|---|
| public RemoveEnclosingBracesFormatter() | |
| format | back to summary |
|---|---|
| public String format(String value) Implements abstract org. Doc from org. Formats a field value by with a particular formatter transformation. Calling this method with a null argument results in a NullPointerException. | |
| getDescription | back to summary |
|---|---|
| public String getDescription() Implements abstract org. Doc from org. Returns a description of the formatter. | |
| getExampleInput | back to summary |
|---|---|
| public String getExampleInput() Implements abstract org. Doc from org. Returns an example input string of the formatter. This example is used as input to the formatter to demonstrate its functionality | |
| getKey | back to summary |
|---|---|
| public String getKey() Implements abstract org. Doc from org. Returns a unique key for the formatter that can be used for its identification | |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract org. Doc from org. Returns a human readable name of the formatter usable for e.g. in the GUI | |
| hasNegativeBraceCount | back to summary |
|---|---|
| private boolean hasNegativeBraceCount(String value) Check if a string at any point has had more ending } braces than opening { ones. Will e.g. return true for the string "DNA} text {EPA"
| |