org.directwebremoting.impl
Class NullCompressor

java.lang.Object
  extended by org.directwebremoting.impl.NullCompressor
All Implemented Interfaces:
Compressor

public class NullCompressor
extends java.lang.Object
implements Compressor

An implementation of Compressor that does nothing.

Author:
Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
NullCompressor()
           
 
Method Summary
 java.lang.String compressJavaScript(java.lang.String script)
          Compress a JavaScript file to a smaller version of the original
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullCompressor

public NullCompressor()
Method Detail

compressJavaScript

public java.lang.String compressJavaScript(java.lang.String script)
                                    throws java.io.IOException
Description copied from interface: Compressor
Compress a JavaScript file to a smaller version of the original

Specified by:
compressJavaScript in interface Compressor
Parameters:
script - The script to compress
Returns:
The compressed script
Throws:
java.io.IOException

Copyright 2008