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 OutputStream
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
IOException
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.