public class ComparingOutputStream extends OutputStream
| Constructor and Description |
|---|
ComparingOutputStream(File referenceFile)
Creates an
OutputStream that verifies that exactly the content of the reference
file is written to it. |
public ComparingOutputStream(File referenceFile)
OutputStream that verifies that exactly the content of the reference
file is written to it. Otherwise it throws throws an AssertionError.public void write(int actual)
throws IOException
write in class OutputStreamIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class OutputStreamIOExceptionCopyright © 2008-2013 Eclipse Foundation. All Rights Reserved.