All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.sna.SCBInputStream
java.lang.Object
   |
   +----java.io.InputStream
           |
           +----bmsi.sna.SCBInputStream

  Summary

public class  SCBInputStream
     extends java.io.InputStream
{
          // Constructors 1
     public SCBInputStream(InputStream);

          // Methods 4
     public void close() throws IOException;
     public int getPrime();
     public int read() throws IOException;
     public void setPrime(int);
}

Decompress an SCB encoded input stream. SCB stands for String Control Byte, an SNA text compression scheme. In its basic form, it compresses repeated characters. The compaction feature uses a table to assign 4-bit codes for up to 16 frequent bytes. Each unused 4-bit code forms the 4 high bits of 16 8-bit codes.

Author:
Stuart D. Gathman Copyright (C) 1999 Business Management Systems, Inc.




  Constructors

· SCBInputStream

Summary  |  Top

   public SCBInputStream(InputStream in) 


  Methods

· getPrime

Summary  |  Top
   public int getPrime() 

Return the prime character which is most easily compressed. By default this is EBCDIC blank.



· setPrime

Summary  |  Top
   public void setPrime(int c) 

Set the prime character.



· read

Summary  |  Top
   public int read()  throws IOException
Overrides:
read in class InputStream


· close

Summary  |  Top
   public void close()  throws IOException
Overrides:
close in class InputStream


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7