Class ImportFileUpdater
java.lang.Object
org.alfresco.repo.admin.patch.util.ImportFileUpdater
Updates a XML import file to be compatable with the current version of the repository.
- Author:
- royw
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvoidsetFileEncoding(String fileEncoding) Set the file encoding.voidupdateImportFile(String source, String destination) Updates the passed import file into the equivalent 1.4 format.
-
Constructor Details
-
ImportFileUpdater
public ImportFileUpdater()
-
-
Method Details
-
setFileEncoding
Set the file encoding.- Parameters:
fileEncoding- the file encoding
-
updateImportFile
Updates the passed import file into the equivalent 1.4 format.- Parameters:
source- the source import filedestination- the destination import file
-
main
-