Elexis API documentation
Version 2.1.6 as of December 11 2011

ch.rgw.compress
Class HuffmanInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by ch.rgw.compress.HuffmanInputStream
All Implemented Interfaces:
java.io.Closeable

public class HuffmanInputStream
extends java.io.InputStream

A Stream that decompresses an earlier created HuffmanOutputStream Tree and dynamic feature are read from the Stream header.

Author:
Gerry

Constructor Summary
HuffmanInputStream(java.io.InputStream in)
           
 
Method Summary
 int available()
           
 int read()
           
static java.lang.String Version()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HuffmanInputStream

public HuffmanInputStream(java.io.InputStream in)
                   throws java.io.IOException
Throws:
java.io.IOException
Method Detail

Version

public static java.lang.String Version()

read

public int read()
         throws java.io.IOException
Specified by:
read in class java.io.InputStream
Throws:
java.io.IOException

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException

Elexis API documentation
Version 2.1.6 as of December 11 2011

Copyright 2005-2011 by Gerry Weirich, Elexis