java.lang.Object
org.apache.wicket.core.util.string.JavaScriptStripper
Strips comments and whitespace from javascript
- Author:
- Matej Knopp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstripCommentsAndWhitespace
(String original) Removes javascript comments and whitespace from specified string.
-
Constructor Details
-
JavaScriptStripper
public JavaScriptStripper()
-
-
Method Details
-
stripCommentsAndWhitespace
Removes javascript comments and whitespace from specified string.- Parameters:
original
- Source string- Returns:
- String with removed comments and whitespace
-