com.github.dandelion.datatables.extras.compression
Class YuiResourceCompressor

java.lang.Object
  extended by com.github.dandelion.datatables.extras.compression.YuiResourceCompressor
All Implemented Interfaces:
WebResourceCompressor

public class YuiResourceCompressor
extends Object
implements WebResourceCompressor

Default compression class which uses YUICompressor.

Author:
Thibault Duchateau

Constructor Summary
YuiResourceCompressor()
           
 
Method Summary
 String getCompressedCss(String input)
          
 String getCompressedJavascript(HtmlTable table, String input)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YuiResourceCompressor

public YuiResourceCompressor()
Method Detail

getCompressedJavascript

public String getCompressedJavascript(HtmlTable table,
                                      String input)
                               throws CompressionException

Specified by:
getCompressedJavascript in interface WebResourceCompressor
Throws:
CompressionException

getCompressedCss

public String getCompressedCss(String input)
                        throws CompressionException

Specified by:
getCompressedCss in interface WebResourceCompressor
Throws:
CompressionException


Copyright © 2013. All Rights Reserved.