Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.james.mime4j.decoder
Class LineBreakingOutputStream

    java.lang.Object
      java.io.OutputStream
          java.io.FilterOutputStream
              org.apache.james.mime4j.decoder.LineBreakingOutputStream

All Implemented Interfaces:
  java.io.Closeable, java.io.Flushable

Deprecated. This class will be removed in 0.6 release

    public class LineBreakingOutputStream

extends java.io.FilterOutputStream

This class take care of inserting a CRLF every lineLength bytes Default to 76 bytes lines. Please note that this does not check for existing newlines and simply adds CRLF every 76 bytes.

Field Summary

Fields inherited from class java.io.FilterOutputStream
`out`

Constructor Summary
`LineBreakingOutputStream(java.io.OutputStream out, int lineLength)` Deprecated.

Method Summary
`void` | `write(byte[] b, int off, int len)` Deprecated.
`void` | `write(int b)` Deprecated.

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

### LineBreakingOutputStream

    public LineBreakingOutputStream(java.io.OutputStream out,
                                    int lineLength)

  Deprecated.

Method Detail

### write

    public final void write(byte[] b,
                            int off,
                            int len)
                     throws java.io.IOException

  Deprecated.
  Overrides:
    `write` in class `java.io.FilterOutputStream`
  Throws:
    `java.io.IOException`

### write

    public final void write(int b)
                     throws java.io.IOException

  Deprecated.
  Overrides:
    `write` in class `java.io.FilterOutputStream`
  Throws:
    `java.io.IOException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.