org.openadaptor.doconverter
Class NullCompressor

java.lang.Object
  extended by org.openadaptor.doconverter.NullCompressor
All Implemented Interfaces:
Compressor

public class NullCompressor
extends java.lang.Object
implements Compressor

No-compression Compressor API. This class

Version:
1.0
Author:
Tim Bissell
See Also:
DataObjectMessageWriter, NullCompressor

Constructor Summary
NullCompressor()
           
 
Method Summary
 byte[] compress(java.lang.String text)
          Compress the string text.
 java.lang.String getName()
           
 
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

getName

public java.lang.String getName()
Specified by:
getName in interface Compressor

compress

public byte[] compress(java.lang.String text)
                throws CompressorException
Compress the string text. This

Specified by:
compress in interface Compressor
Parameters:
text - String to be compressed.
Returns:
Byte Array containing compressed string.
Throws:
CompressorException