org.apache.james.jdkim.mailets
Class HeaderSkippingOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FilterOutputStream
          extended by org.apache.james.jdkim.mailets.HeaderSkippingOutputStream
All Implemented Interfaces:
Closeable, Flushable

public class HeaderSkippingOutputStream
extends FilterOutputStream

Ignore writes until the given sequence is found.


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

Constructor Detail

HeaderSkippingOutputStream

public HeaderSkippingOutputStream(OutputStream out)
Method Detail

write

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

write

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


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.