All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.sna.SCBInputStream


public class  SCBInputStream
          // 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.

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


· SCBInputStream

Summary  |  Top

   public SCBInputStream(InputStream in) 


· 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
read in class InputStream

· close

Summary  |  Top
   public void close()  throws IOException
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