'STRAP:multiple sequence alignments '

charite.christo.libs
Class UncompressInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by charite.christo.libs.UncompressInputStream
All Implemented Interfaces:
java.io.Closeable

public class UncompressInputStream
extends java.io.FilterInputStream

This class decompresses an input stream containing data compressed with the unix "compress" utility (LZC, a LZW variant). This code is based heavily on the unlzw.c code in gzip-1.2.4 (written by Peter Jannesen) and the original compress code.


Constructor Summary
UncompressInputStream(java.io.InputStream is)
           
 
Method Summary
 int available()
           
 int read()
           
 int read(byte[] buf, int off, int len)
           
 long skip(long num)
           
 
Methods inherited from class java.io.FilterInputStream
close, mark, markSupported, read, reset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UncompressInputStream

public UncompressInputStream(java.io.InputStream is)
                      throws java.io.IOException
Parameters:
is - the input stream to decompress
Throws:
java.io.IOException - if the header is malformed
Method Detail

read

public int read()
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

read

public int read(byte[] buf,
                int off,
                int len)
         throws java.io.IOException
Overrides:
read in class java.io.FilterInputStream
Throws:
java.io.IOException

skip

public long skip(long num)
          throws java.io.IOException
Overrides:
skip in class java.io.FilterInputStream
Throws:
java.io.IOException

available

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

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'