Class JavaScriptStripper

    • Method Detail

      • stripCommentsAndWhitespace

        public String stripCommentsAndWhitespace​(String original)
        Removes javascript comments and whitespace from specified string.
        Parameters:
        original - Source string
        Returns:
        String with removed comments and whitespace