org.openadaptor.doconverter
Class ZipDecompressor

java.lang.Object
  extended by org.openadaptor.doconverter.ZipDecompressor
All Implemented Interfaces:
Decompressor

public class ZipDecompressor
extends java.lang.Object
implements Decompressor

Zip-based decompressor.

Version:
1.0
Author:
Tim Bissell
See Also:
Decompressor

Field Summary
(package private)  ZipUncompress decompressor
           
 
Constructor Summary
ZipDecompressor()
           
 
Method Summary
 java.lang.String expand(byte[] bytes)
          Decompress the byte Array bytes into a String.
 java.lang.String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

decompressor

ZipUncompress decompressor
Constructor Detail

ZipDecompressor

public ZipDecompressor()
Method Detail

getName

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

expand

public java.lang.String expand(byte[] bytes)
                        throws CompressorException
Decompress the byte Array bytes into a String.

Specified by:
expand in interface Decompressor
Parameters:
bytes - String to be compressed.
Returns:
Byte Array containing compressed string.
Throws:
CompressorException