jxUtil 0.6

org.sourceforge.jxutil.io
Class FDOCAInputStream

java.lang.Object
  |
  +--java.io.InputStream
        |
        +--java.io.FilterInputStream
              |
              +--org.sourceforge.jxutil.io.FDOCAInputStream

public class FDOCAInputStream
extends FilterInputStream

Input stream decorator, very much like DataInputStream, that defines the basic semantics of FD:OCA defined data types.


Field Summary
 
Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from class java.io.InputStream
 
Constructor Summary
FDOCAInputStream(InputStream in)
           
 
Method Summary
 byte[] readByteString(int length)
           
 byte[] readByteStringM1(int maxlen)
           
 String readCharString(int len)
           
 String readCharStringM1(int maxlen)
           
 BigDecimal readDecimalFixedPointM0(int prec, int scale)
           
 byte[] readShortByteStringM1(int maxlen)
           
 byte readSignedBinaryInteger1()
           
 short readSignedBinaryInteger2()
           
 int readSignedBinaryInteger4()
           
 long readSignedBinaryInteger8()
           
 byte readSignedBinaryIntegerPC1()
           
 short readSignedBinaryIntegerPC2()
           
 int readSignedBinaryIntegerPC4()
           
 long readSignedBinaryIntegerPC8()
           
 int readUnsignedBinaryInteger1()
           
 int readUnsignedBinaryInteger2()
           
 long readUnsignedBinaryInteger4()
           
 long readUnsignedBinaryInteger8()
           
 
Methods inherited from class java.io.FilterInputStream
available, close, mark, markSupported, read, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FDOCAInputStream

public FDOCAInputStream(InputStream in)
Method Detail

readByteString

public byte[] readByteString(int length)
                      throws IOException
IOException

readByteStringM1

public byte[] readByteStringM1(int maxlen)
                        throws IOException
IOException

readCharString

public String readCharString(int len)
                      throws IOException
IOException

readCharStringM1

public String readCharStringM1(int maxlen)
                        throws IOException
IOException

readDecimalFixedPointM0

public BigDecimal readDecimalFixedPointM0(int prec,
                                          int scale)
                                   throws IOException
IOException

readShortByteStringM1

public byte[] readShortByteStringM1(int maxlen)
                             throws IOException
IOException

readSignedBinaryInteger1

public byte readSignedBinaryInteger1()
                              throws IOException
IOException

readSignedBinaryInteger2

public short readSignedBinaryInteger2()
                               throws IOException
IOException

readSignedBinaryInteger4

public int readSignedBinaryInteger4()
                             throws IOException
IOException

readSignedBinaryInteger8

public long readSignedBinaryInteger8()
                              throws IOException
IOException

readSignedBinaryIntegerPC1

public byte readSignedBinaryIntegerPC1()
                                throws IOException
IOException

readSignedBinaryIntegerPC2

public short readSignedBinaryIntegerPC2()
                                 throws IOException
IOException

readSignedBinaryIntegerPC4

public int readSignedBinaryIntegerPC4()
                               throws IOException
IOException

readSignedBinaryIntegerPC8

public long readSignedBinaryIntegerPC8()
                                throws IOException
IOException

readUnsignedBinaryInteger1

public int readUnsignedBinaryInteger1()
                               throws IOException
IOException

readUnsignedBinaryInteger2

public int readUnsignedBinaryInteger2()
                               throws IOException
IOException

readUnsignedBinaryInteger4

public long readUnsignedBinaryInteger4()
                                throws IOException
IOException

readUnsignedBinaryInteger8

public long readUnsignedBinaryInteger8()
                                throws IOException
IOException

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.