public class LibraryMigrator extends XMLMigrator
XMLMigrator.MigrationLoggerJDEV_HOME_DIR, SYSTEM_DIR| Constructor and Description | 
|---|
LibraryMigrator()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected java.lang.Object | 
adjustObject(java.io.File sourceDir, java.io.File destDir, java.lang.Object obj)
Perform any postprocessing necessary before migrating the file. 
 | 
boolean | 
canMigrate(int category, java.io.File sourceDir)
Determine whether the settings can be migrated from the given directory. 
 | 
java.lang.String | 
getDescription(int category)
Get a one line description for a given migration category. 
 | 
protected java.lang.String | 
getFileName()
Get the filename to migrate. 
 | 
protected java.lang.String | 
getNamespaceURI()
Get the XML namespace URI. 
 | 
protected java.lang.String | 
getRootTag()
Get the XML root element tag. 
 | 
java.lang.String[] | 
migrate(java.io.File sourceDir, java.io.File destDir)
Migrate the settings from a given source directory to a given destination directory. 
 | 
protected void | 
prepareToMigrate()
Perform any preprocessing necessary before migrating the file. 
 | 
protected java.lang.Object | 
readObject(java.io.File sourceDir, java.io.File destDir)
Read in the settings. 
 | 
categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, setSelected, writeObjectprotected java.lang.String getFileName()
XMLMigratorgetFileName in class XMLMigratorprotected java.lang.String getNamespaceURI()
XMLMigratorgetNamespaceURI in class XMLMigratorprotected java.lang.String getRootTag()
XMLMigratorgetRootTag in class XMLMigratorpublic java.lang.String getDescription(int category)
Migrator
protected java.lang.Object readObject(java.io.File sourceDir,
                          java.io.File destDir)
                               throws java.lang.Exception
readObject in class XMLMigratorjava.lang.Exception
public boolean canMigrate(int category,
                 java.io.File sourceDir)
canMigrate in interface MigratorcanMigrate in class XMLMigrator
public java.lang.String[] migrate(java.io.File sourceDir,
                         java.io.File destDir)
migrate in interface Migratormigrate in class XMLMigratorprotected void prepareToMigrate()
XMLMigratorprepareToMigrate in class XMLMigrator
protected java.lang.Object adjustObject(java.io.File sourceDir,
                            java.io.File destDir,
                            java.lang.Object obj)
                                 throws java.lang.Exception
XMLMigratoradjustObject in class XMLMigratorjava.lang.Exception