public final class ParserUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
trimBy(StringBuilder s,
int left,
int right)
Remove the given number of chars from start and end.
|
static String |
trimUrl(StringBuilder s)
Helper that removes the leading "url(", the trailing ")"
and surrounding quotes from the given string builder.
|
public static String trimBy(StringBuilder s, int left, int right)
s - the StringBuilderleft - no of chars to be removed from startright - no of chars to be removed from endpublic static String trimUrl(StringBuilder s)
s - the StringBuilderCopyright © 1999–2022. All rights reserved.