Decoder
Class MyTestDataInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.DataInputStream
              extended by Decoder.MyDataInPutStream
                  extended by Decoder.MyTestDataInputStream
All Implemented Interfaces:
java.io.Closeable, java.io.DataInput

public class MyTestDataInputStream
extends MyDataInPutStream


Constructor Summary
MyTestDataInputStream(java.io.InputStream inputStream, java.io.PrintStream printStream)
           
 
Method Summary
 void close()
           
 int readMyByte()
           
 void readMyBytes(int[] bytes)
           
 int readMyShort()
           
 
Methods inherited from class java.io.DataInputStream
read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, readUTF, skipBytes
 
Methods inherited from class java.io.FilterInputStream
available, mark, markSupported, read, reset, skip
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyTestDataInputStream

public MyTestDataInputStream(java.io.InputStream inputStream,
                             java.io.PrintStream printStream)
Method Detail

readMyShort

public int readMyShort()
Overrides:
readMyShort in class MyDataInPutStream

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class java.io.FilterInputStream
Throws:
java.io.IOException

readMyByte

public int readMyByte()
               throws java.io.IOException
Overrides:
readMyByte in class MyDataInPutStream
Throws:
java.io.IOException

readMyBytes

public void readMyBytes(int[] bytes)
                 throws java.io.IOException
Overrides:
readMyBytes in class MyDataInPutStream
Throws:
java.io.IOException