phelps.io

Class InputStreamLZW

public class InputStreamLZW extends FilterInputStream

InputStream that decompresses LZW, both UNIX compress and PDF formats. Description of LZW found in PDF Reference, and format of UNIX compress found in ncompress-4.2.4.

Version: $Revision: 1.28 $ $Date: 2003/10/19 16:58:45 $

Constructor Summary
InputStreamLZW(InputStream in, boolean earlychange)
Constructor for data stream in PDF format.
InputStreamLZW(InputStream in)
Constructor for data stream in UNIX compress format.
Method Summary
voidclose()
booleanmarkSupported()
intread(byte[] b, int off, int len)
intread()

Constructor Detail

InputStreamLZW

public InputStreamLZW(InputStream in, boolean earlychange)
Constructor for data stream in PDF format.

InputStreamLZW

public InputStreamLZW(InputStream in)
Constructor for data stream in UNIX compress format.

Method Detail

close

public void close()

markSupported

public boolean markSupported()

read

public int read(byte[] b, int off, int len)

read

public int read()