Class ByteArrayPrintWriter

java.lang.Object
java.io.Writer
java.io.PrintWriter
net.thevpc.common.io.ByteArrayPrintWriter
All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class ByteArrayPrintWriter extends PrintWriter
  • Constructor Details

    • ByteArrayPrintWriter

      public ByteArrayPrintWriter()
    • ByteArrayPrintWriter

      public ByteArrayPrintWriter(ByteArrayOutputStream out)
  • Method Details

    • toByteArray

      public byte[] toByteArray()
    • toString

      public String toString()
      Overrides:
      toString in class Object