public class MockOutputTool extends java.lang.Object implements OutputTool
Constructor and Description |
---|
MockOutputTool() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getText(java.lang.String fileName) |
boolean |
isValidOutputArea(java.lang.String fileName) |
void |
makeOutputArea(java.lang.String filename) |
java.lang.String |
toString() |
void |
writeToOutput(java.lang.String fileName,
java.lang.String text) |
public void makeOutputArea(java.lang.String filename)
makeOutputArea
in interface OutputTool
public void writeToOutput(java.lang.String fileName, java.lang.String text) throws java.lang.Exception
writeToOutput
in interface OutputTool
java.lang.Exception
public boolean isValidOutputArea(java.lang.String fileName)
public java.lang.String getText(java.lang.String fileName)
public java.lang.String toString()
toString
in class java.lang.Object