org.alfresco.repo.admin.patch.util
Class ImportFileUpdater

java.lang.Object
  extended by 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.


Constructor Summary
ImportFileUpdater()
           
 
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
 

Constructor Detail

ImportFileUpdater

public ImportFileUpdater()
Method Detail

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 file
destination - the destination import file

main

public static void main(java.lang.String[] args)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.