com.oreilly.servlet.multipart
Class MacBinaryDecoderOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by com.oreilly.servlet.multipart.MacBinaryDecoderOutputStream
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public class MacBinaryDecoderOutputStream
extends java.io.FilterOutputStream

A MacBinaryDecoderOutput filters MacBinary files to normal files on the fly; optimized for speed more than readability.

Author:
Jason Hunter

Constructor Summary
MacBinaryDecoderOutputStream(java.io.OutputStream out)
           
 
Method Summary
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.io.FilterOutputStream
close, flush
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacBinaryDecoderOutputStream

public MacBinaryDecoderOutputStream(java.io.OutputStream out)
Method Detail

write

public void write(int b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException

write

public void write(byte[] b,
                  int off,
                  int len)
           throws java.io.IOException
Overrides:
write in class java.io.FilterOutputStream
Throws:
java.io.IOException