public final class ValueUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
fill(String prefix,
String charSequence,
int times)
Create a string representation repeating a character
sequence the requested number of times.
|
static String |
resolveFigurative(String value,
int length,
boolean quoteIsQuote)
Translate individual figurative constants.
|
static String |
stripDelimiters(String value)
The parser does not strip delimiters from literal strings so we
do it here if necessary.
|
public static String resolveFigurative(String value, int length, boolean quoteIsQuote)
value - a potential figurative constant valuelength - the target data item lengthquoteIsQuote - true if quote is quote, false if quote is apostpublic static String fill(String prefix, String charSequence, int times)
prefix - an optional prefix to prependcharSequence - the character sequence to repeattimes - how many times the character sequence should be repeatedCopyright © 2021 LegSem. All rights reserved.