pt.tumba.parser.swf
Class Byte4ByteDebugStreams

java.lang.Object
  extended by java.io.OutputStream
      extended by pt.tumba.parser.swf.Byte4ByteDebugStreams
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class Byte4ByteDebugStreams
extends java.io.OutputStream

Description of the Class

Author:
unknown

Field Summary
protected  int bytePtr
          Description of the Field
protected  byte[] bytesIn
          Description of the Field
protected  byte[] bytesOut
          Description of the Field
protected  java.io.ByteArrayInputStream in
          Description of the Field
 
Constructor Summary
Byte4ByteDebugStreams(byte[] bytesIn)
          Constructor for the Byte4ByteDebugStreams object
Byte4ByteDebugStreams(java.lang.String filenameIn)
          Constructor for the Byte4ByteDebugStreams object
 
Method Summary
 java.io.InputStream getInputStream()
          Gets the inputStream attribute of the Byte4ByteDebugStreams object
 void setInputBytes(byte[] inBytes)
          Sets the inputBytes attribute of the Byte4ByteDebugStreams object
 void write(int b2)
          Description of the Method
 void write(java.lang.String filenameOut)
          Description of the Method
 
Methods inherited from class java.io.OutputStream
close, flush, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

protected java.io.ByteArrayInputStream in
Description of the Field


bytesIn

protected byte[] bytesIn
Description of the Field


bytesOut

protected byte[] bytesOut
Description of the Field


bytePtr

protected int bytePtr
Description of the Field

Constructor Detail

Byte4ByteDebugStreams

public Byte4ByteDebugStreams(java.lang.String filenameIn)
                      throws java.lang.Exception
Constructor for the Byte4ByteDebugStreams object

Parameters:
filenameIn - Description of the Parameter
Throws:
java.lang.Exception - Description of the Exception

Byte4ByteDebugStreams

public Byte4ByteDebugStreams(byte[] bytesIn)
Constructor for the Byte4ByteDebugStreams object

Parameters:
bytesIn - Description of the Parameter
Method Detail

getInputStream

public java.io.InputStream getInputStream()
Gets the inputStream attribute of the Byte4ByteDebugStreams object

Returns:
The inputStream value

setInputBytes

public void setInputBytes(byte[] inBytes)
Sets the inputBytes attribute of the Byte4ByteDebugStreams object

Parameters:
inBytes - The new inputBytes value

write

public void write(int b2)
           throws java.io.IOException
Description of the Method

Specified by:
write in class java.io.OutputStream
Parameters:
b - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

write

public void write(java.lang.String filenameOut)
           throws java.io.IOException
Description of the Method

Parameters:
filenameOut - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception