- All Implemented Interfaces:
- CodegenRunnerResultHandler
public class FileSavingResultHandler
extends java.lang.Object
implements CodegenRunnerResultHandler
This file system based implementation of the CodegenRunnerResultHandler
interface writes entries of the generated code into files named for each
entry into the configured path.
A file extension may be provided by calling the
setFileExtension()
method. The default file extension is ".txt".
This class is making use of Apache Commons IO in order to save files and
delete directories.
- See Also:
- the Apache
Commons IO project