public class FileChangeReporter extends Object implements FileChangeHandler
| Constructor and Description |
|---|
FileChangeReporter(File rootDir,
PrintWriter out,
ChangeSetReportWriter reporter) |
| Modifier and Type | Method and Description |
|---|---|
void |
createFile(File file,
Graph contents)
Create a file.
|
void |
deleteFile(File file)
Delete a file.
|
void |
modifyFile(File file,
Graph changeSet)
Modify a file.
|
public FileChangeReporter(File rootDir, PrintWriter out, ChangeSetReportWriter reporter)
public void deleteFile(File file)
FileChangeHandlerdeleteFile in interface FileChangeHandlerfile - The file that is to be deleted.public void createFile(File file, Graph contents) throws IOException
FileChangeHandlercreateFile in interface FileChangeHandlerfile - The file that is to be createdcontents - A graph that describes the contents of the file being createdIOExceptionpublic void modifyFile(File file, Graph changeSet) throws IOException
FileChangeHandlermodifyFile in interface FileChangeHandlerfile - The file that is being modifiedchangeSet - A graph that describes the changes made to the file.IOExceptionCopyright © 2019. All rights reserved.