.. java:import:: java.io IOException .. java:import:: java.io Writer MyWriterComparer ================ .. java:package:: com.ampl :noindex: .. java:type:: class MyWriterComparer extends Writer Fields ------ actualOutput ^^^^^^^^^^^^ .. java:field:: String actualOutput :outertype: MyWriterComparer expectedOutput ^^^^^^^^^^^^^^ .. java:field:: String expectedOutput :outertype: MyWriterComparer Constructors ------------ MyWriterComparer ^^^^^^^^^^^^^^^^ .. java:constructor:: public MyWriterComparer(String expectedOutput) :outertype: MyWriterComparer Methods ------- close ^^^^^ .. java:method:: @Override public void close() throws IOException :outertype: MyWriterComparer flush ^^^^^ .. java:method:: @Override public void flush() throws IOException :outertype: MyWriterComparer setExpectedOutput ^^^^^^^^^^^^^^^^^ .. java:method:: public void setExpectedOutput(String expectedOutput) :outertype: MyWriterComparer write ^^^^^ .. java:method:: @Override public void write(char[] cbuf, int off, int len) throws IOException :outertype: MyWriterComparer write ^^^^^ .. java:method:: public void write(String s) :outertype: MyWriterComparer