public final class DTCacheMigrator extends XMLMigrator
XMLMigrator.MigrationLogger| Modifier and Type | Field and Description |
|---|---|
static int |
DTCACHE_SETTINGS |
JDEV_HOME_DIR, SYSTEM_DIR| Constructor and Description |
|---|
DTCacheMigrator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected java.lang.Object |
readObject(java.io.File sourceDir,
java.io.File destDir)
Read in the settings.
|
protected void |
writeObject(java.io.File sourceDir,
java.io.File destDir,
java.lang.Object settings)
Write out the settings.
|
adjustObject, canMigrate, categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, migrate, setSelectedpublic static final int DTCACHE_SETTINGS
public 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 XMLMigratorprotected java.lang.Object readObject(java.io.File sourceDir,
java.io.File destDir)
throws java.lang.Exception
XMLMigratorreadObject in class XMLMigratorjava.lang.Exceptionprotected void writeObject(java.io.File sourceDir,
java.io.File destDir,
java.lang.Object settings)
throws java.lang.Exception
writeObject in class XMLMigratorjava.lang.Exception