| |
|
| java.lang.Object java.io.Writer javax.servlet.jsp.JspWriter com.mockrunner.mock.web.MockJspWriter
MockJspWriter | public class MockJspWriter extends JspWriter (Code) | | Mock implementation of JspWriter .
Collects the output data. If you provide a Writer
in the constructor, the output data is written to this
provided Writer . The method
MockJspWriter.getOutputAsString returns an empty string in this case. Otherwise it returns the
collected data.
|
MockJspWriter | public MockJspWriter()(Code) | | |
clear | public void clear() throws IOException(Code) | | Clears the output. This method throws an IOException ,
if a Writer was provided according to spec.
|
clearBuffer | public void clearBuffer() throws IOException(Code) | | Clears the output. This method does nothing,
if a Writer was provided according to spec.
|
getOutputAsString | public String getOutputAsString()(Code) | | Returns the output or an empty string, if
an output Writer was provided
in the constructor.
the output or an empty string |
getRemaining | public int getRemaining()(Code) | | |
|
|
|