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.jasig.portal.serialize
Class SieveEncodingInfo.BAOutputStream

    java.lang.Object
      java.io.OutputStream
          java.io.ByteArrayOutputStream
              org.jasig.portal.serialize.SieveEncodingInfo.BAOutputStream

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

Enclosing class:
  SieveEncodingInfo

    static class SieveEncodingInfo.BAOutputStream

extends java.io.ByteArrayOutputStream

Why don't we use the original ByteArrayOutputStream? - Because the toByteArray() method of the ByteArrayOutputStream creates new byte[] instances for each call.

Field Summary

Fields inherited from class java.io.ByteArrayOutputStream
`buf, count`

Constructor Summary
`SieveEncodingInfo.BAOutputStream()`
`SieveEncodingInfo.BAOutputStream(int size)`

Method Summary
`(package private) byte[]` | `getBuffer()`

Methods inherited from class java.io.ByteArrayOutputStream
`close, reset, size, toByteArray, toString, toString, toString, write, write, writeTo`

Methods inherited from class java.io.OutputStream
`flush, write`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### SieveEncodingInfo.BAOutputStream

    SieveEncodingInfo.BAOutputStream()

### SieveEncodingInfo.BAOutputStream

    SieveEncodingInfo.BAOutputStream(int size)

Method Detail

### getBuffer

    byte[] getBuffer()

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