Interface OutputTool
- All Known Implementing Classes:
FileOutputTool,MockOutputTool
public interface OutputTool
-
Method Summary
Modifier and TypeMethodDescriptionvoidcopyResource(String srcPath, String dstPath) Copy a resource file (doc-files/, snippet-files/ content) fromsrcPathtodstPath.voidmakeOutputArea(String filename) voidwriteToOutput(String fileName, String text, String charset)
-
Method Details
-
makeOutputArea
-
writeToOutput
- Throws:
Exception
-
copyResource
Copy a resource file (doc-files/, snippet-files/ content) fromsrcPathtodstPath. Routed through the tool rather than callingFiles.copydirectly so that alternative tools (notablyMockOutputTool) can intercept the side-effect.- Throws:
Exception
-