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, setSelected
public static final int DTCACHE_SETTINGS
public java.lang.String getDescription(int category)
Migrator
protected java.lang.String getFileName()
XMLMigrator
getFileName
in class XMLMigrator
protected java.lang.String getNamespaceURI()
XMLMigrator
getNamespaceURI
in class XMLMigrator
protected java.lang.String getRootTag()
XMLMigrator
getRootTag
in class XMLMigrator
protected void prepareToMigrate()
XMLMigrator
prepareToMigrate
in class XMLMigrator
protected java.lang.Object readObject(java.io.File sourceDir, java.io.File destDir) throws java.lang.Exception
XMLMigrator
readObject
in class XMLMigrator
java.lang.Exception
protected void writeObject(java.io.File sourceDir, java.io.File destDir, java.lang.Object settings) throws java.lang.Exception
writeObject
in class XMLMigrator
java.lang.Exception