public class

DummyOutputStream

extends OutputStream
java.lang.Object
   ↳ java.io.OutputStream
     ↳ com.pnfsoftware.jeb.util.io.DummyOutputStream

Class Overview

Dummy writer class: does not write, simply count the number of bytes being written.

Summary

Public Constructors
DummyOutputStream()
Public Methods
long getTotalSize()
Get the number of bytes written.
void write(byte[] b)
void write(byte[] b, int off, int len)
void write(int b)
[Expand]
Inherited Methods
From class java.io.OutputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.io.Flushable
From interface java.lang.AutoCloseable

Public Constructors

public DummyOutputStream ()

Public Methods

public long getTotalSize ()

Get the number of bytes written.

public void write (byte[] b)

Throws
IOException

public void write (byte[] b, int off, int len)

Throws
IOException

public void write (int b)

Throws
IOException