org.loom.resources.compressor
Class NullCompressor

java.lang.Object
  extended by org.loom.resources.compressor.NullCompressor
All Implemented Interfaces:
WebResourceCompressor

public class NullCompressor
extends java.lang.Object
implements WebResourceCompressor

A null compressor that does not do modify the file contents.


Constructor Summary
NullCompressor()
           
 
Method Summary
 java.lang.String compress(java.lang.String resourceName, java.lang.String contents)
          Compress the input contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCompressor

public NullCompressor()
Method Detail

compress

public java.lang.String compress(java.lang.String resourceName,
                                 java.lang.String contents)
                          throws java.io.IOException
Description copied from interface: WebResourceCompressor
Compress the input contents.

Specified by:
compress in interface WebResourceCompressor
contents - the file contents to be compressed
Returns:
the compressed result
Throws:
java.io.IOException