Class FileCopy
java.lang.Object
ml.karmaconfigs.api.common.karmafile.karmayaml.FileCopy
Initialize the file copier
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FileCopy
Initialize the file copy- Parameters:
source- the source containing the file to exportname- the source file name
-
FileCopy
Initialize the file copy- Parameters:
main- the main classname- the source file name
-
-
Method Details
-
withDebug
Set debug status- Parameters:
status- the debug status- Returns:
- this instance
-
copy
Copy the file- Parameters:
destFile- the file destination- Throws:
IOException- if something goes wrong
-
fix
Fix the sections for files who have section names same as keys- Parameters:
destFile- the file to fix
-