Package org.apache.wicket.javascript
Class DefaultJavaScriptCompressor
- java.lang.Object
-
- org.apache.wicket.javascript.DefaultJavaScriptCompressor
-
- All Implemented Interfaces:
IJavaScriptCompressor
,ITextResourceCompressor
public class DefaultJavaScriptCompressor extends Object implements IJavaScriptCompressor
Wicket default implementation of a javascript compressor- Author:
- Juergen Donnerstag
-
-
Constructor Summary
Constructors Constructor Description DefaultJavaScriptCompressor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
compress(String original)
Remove comments and white spaces from the text resource
-
-
-
Constructor Detail
-
DefaultJavaScriptCompressor
public DefaultJavaScriptCompressor()
-
-
Method Detail
-
compress
public String compress(String original)
Description copied from interface:ITextResourceCompressor
Remove comments and white spaces from the text resource- Specified by:
compress
in interfaceITextResourceCompressor
- Returns:
- compressed text resource
- See Also:
ITextResourceCompressor.compress(java.lang.String)
-
-