public void clearBuffer() throws IOException { body.clearBuffer(); }
/** * Delegates to {@link #getOutputAsString} */ public String toString() { return getOutputAsString(); }
public MockBodyContent(JspWriter writer) { super(writer); body = new MockJspWriter(); }
public void print(long arg0) throws IOException { body.print(arg0); }
public void println(boolean arg0) throws IOException { body.println(arg0); }
public void close() throws IOException { flush(); printWriter.close(); }
public int getRemaining() { return body.getRemaining(); }
public void clear() throws IOException { body.clear(); }
public void newLine() throws IOException { body.newLine(); }
public void close() throws IOException { body.close(); }
public void print(double arg0) throws IOException { body.print(arg0); }
public void println(int arg0) throws IOException { body.println(arg0); }
public void close() throws IOException { flush(); printWriter.close(); }
public int getRemaining() { return body.getRemaining(); }
public void clear() throws IOException { body.clear(); }
public void newLine() throws IOException { body.newLine(); }
public void close() throws IOException { body.close(); }
public void print(String arg0) throws IOException { body.print(arg0); }
public void println(Object arg0) throws IOException { body.println(arg0); }
public MockBodyContent(JspWriter writer) { super(writer); body = new MockJspWriter(); }