public final class IdeSettingsMigrator extends XMLMigrator
Migrator responsible for migrating user IDE keystroke settings from a
previous installation to the current installation.
*Note* This migrator only really handles keystroke options. All other
keys seem to be handled by IdeMigratorMigratorXMLMigrator.MigrationLogger| Modifier and Type | Field and Description |
|---|---|
static int |
IDE_SETTINGS |
JDEV_HOME_DIR, SYSTEM_DIR| Constructor and Description |
|---|
IdeSettingsMigrator() |
| 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.
|
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.
|
protected void |
prepareToMigrate()
Perform any preprocessing necessary before migrating the file.
|
canMigrate, categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, migrate, readObject, setSelected, writeObjectpublic static final int IDE_SETTINGS
protected java.lang.Object adjustObject(java.io.File sourceDir,
java.io.File destDir,
java.lang.Object obj)
throws java.lang.Exception
adjustObject in class XMLMigratorjava.lang.Exceptionpublic java.lang.String getDescription(int category)
Migratorprotected java.lang.String getFileName()
XMLMigratorgetFileName in class XMLMigratorprotected java.lang.String getNamespaceURI()
XMLMigratorgetNamespaceURI in class XMLMigratorprotected java.lang.String getRootTag()
XMLMigratorgetRootTag in class XMLMigratorprotected void prepareToMigrate()
XMLMigratorprepareToMigrate in class XMLMigrator