org.apache.sanselan.common.mylzw
Class MyLZWCompressor

java.lang.Object
  extended by org.apache.sanselan.common.mylzw.MyLZWCompressor

public class MyLZWCompressor
extends java.lang.Object


Nested Class Summary
static interface MyLZWCompressor.Listener
           
 
Constructor Summary
MyLZWCompressor(int initialCodeSize, int byteOrder, boolean earlyLimit)
           
MyLZWCompressor(int initialCodeSize, int byteOrder, boolean earlyLimit, MyLZWCompressor.Listener listener)
           
 
Method Summary
 byte[] compress(byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyLZWCompressor

public MyLZWCompressor(int initialCodeSize,
                       int byteOrder,
                       boolean earlyLimit)

MyLZWCompressor

public MyLZWCompressor(int initialCodeSize,
                       int byteOrder,
                       boolean earlyLimit,
                       MyLZWCompressor.Listener listener)
Method Detail

compress

public byte[] compress(byte[] bytes)
                throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.