Class StringParserUtils
java.lang.Object
edu.university.ecs.lab.intermediate.utils.StringParserUtils
Utility class for parsing strings.
-
Constructor Details
-
StringParserUtils
private StringParserUtils()Private constructor to prevent instantiation.
-
-
Method Details
-
removeOuterQuotations
Remove start/end quotations from the given string.- Parameters:
s
- the string to remove quotations from- Returns:
- the string with quotations removed
-
simplifyEndpointURL
Simplifies all path arguments to {?}.- Parameters:
url
- the endpoint URL- Returns:
- the simplified endpoint URL
-