org.alfresco.repo.admin.patch.util
Class ImportFileUpdater
java.lang.Object
org.alfresco.repo.admin.patch.util.ImportFileUpdater
public class ImportFileUpdater
- extends java.lang.Object
Updates a XML import file to be compatable with the current version of the repository.
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
setFileEncoding(java.lang.String fileEncoding)
Set the file encoding. |
void |
updateImportFile(java.lang.String source,
java.lang.String destination)
Updates the passed import file into the equivalent 1.4 format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImportFileUpdater
public ImportFileUpdater()
setFileEncoding
public void setFileEncoding(java.lang.String fileEncoding)
- Set the file encoding.
- Parameters:
fileEncoding
- the file encoding
updateImportFile
public void updateImportFile(java.lang.String source,
java.lang.String destination)
- Updates the passed import file into the equivalent 1.4 format.
- Parameters:
source
- the source import filedestination
- the destination import file
main
public static void main(java.lang.String[] args)
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.