com.googlecode.htmlcompressor.compressor
Interface Compressor
- All Known Implementing Classes:
- HtmlCompressor, XmlCompressor
public interface Compressor
Interface describing compressor classes.
- Author:
- Sergiy Kovalchuk
Method Summary |
java.lang.String |
compress(java.lang.String content)
The main method that compresses the given source and returns a compressed result. |
compress
java.lang.String compress(java.lang.String content)
throws java.lang.Exception
- The main method that compresses the given source and returns a compressed result.
- Parameters:
content
- The content to compress.
- Returns:
- Compressed content.
- Throws:
java.lang.Exception