com.instantbank.lettertemplate.control.web.handlers
Class MacBinaryDecoderOutputStream

java.lang.Object
  |
  +--java.io.OutputStream
        |
        +--java.io.FilterOutputStream
              |
              +--com.instantbank.lettertemplate.control.web.handlers.MacBinaryDecoderOutputStream

class MacBinaryDecoderOutputStream
extends java.io.FilterOutputStream

Class to filters MacBinary files to normal files on the fly Optimized for speed more than readability


Field Summary
(package private)  int bytesFiltered
           
(package private)  int dataForkLength
           
 
Fields inherited from class java.io.FilterOutputStream
out
 
Constructor Summary
MacBinaryDecoderOutputStream(java.io.OutputStream out)
          Constructor for the MacBinaryDecoderOutputStream object
 
Method Summary
 void write(byte[] b)
          Description of the Method
 void write(byte[] b, int off, int len)
          Description of the Method
 void write(int b)
          Description of the Method
 
Methods inherited from class java.io.FilterOutputStream
close, flush
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

bytesFiltered

int bytesFiltered

dataForkLength

int dataForkLength
Constructor Detail

MacBinaryDecoderOutputStream

public MacBinaryDecoderOutputStream(java.io.OutputStream out)
Constructor for the MacBinaryDecoderOutputStream object
Parameters:
out - Description of the Parameter
Method Detail

write

public void write(int b)
           throws java.io.IOException
Description of the Method
Overrides:
write in class java.io.FilterOutputStream
Parameters:
b - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

write

public void write(byte[] b)
           throws java.io.IOException
Description of the Method
Overrides:
write in class java.io.FilterOutputStream
Parameters:
b - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Description of the Method
Overrides:
write in class java.io.FilterOutputStream
Parameters:
b - Description of the Parameter
off - Description of the Parameter
len - Description of the Parameter
Throws:
java.io.IOException - Description of the Exception