Class FileBackedOutputStream.MemoryOutput

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Flushable, java.lang.AutoCloseable
    Enclosing class:
    FileBackedOutputStream

    private static class FileBackedOutputStream.MemoryOutput
    extends java.io.ByteArrayOutputStream
    ByteArrayOutputStream that exposes its internals.
    • Field Summary

      • Fields inherited from class java.io.ByteArrayOutputStream

        buf, count
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MemoryOutput()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) byte[] getBuffer()  
      (package private) int getCount()  
      • Methods inherited from class java.io.ByteArrayOutputStream

        close, reset, size, toByteArray, toString, toString, toString, toString, write, write, writeBytes, writeTo
      • Methods inherited from class java.io.OutputStream

        flush, nullOutputStream, write
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MemoryOutput

        private MemoryOutput()
    • Method Detail

      • getBuffer

        byte[] getBuffer()
      • getCount

        int getCount()