Skip navigation links
oracle.ide.config
Class DTCacheMigrator
java.lang.Object
oracle.ide.migration.XMLMigrator
oracle.ide.config.DTCacheMigrator
- All Implemented Interfaces:
- Migrator
-
public final class DTCacheMigrator
- extends XMLMigrator
Method Summary |
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. |
Methods inherited from class oracle.ide.migration.XMLMigrator |
adjustObject, canMigrate, categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, migrate, setSelected |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DTCACHE_SETTINGS
public static final int DTCACHE_SETTINGS
-
- See Also:
- Constant Field Values
DTCacheMigrator
public DTCacheMigrator()
getDescription
public java.lang.String getDescription(int category)
- Description copied from interface:
Migrator
- Get a one line description for a given migration category. A null result implies that no UI should be presented to the user for the given category.
getFileName
protected java.lang.String getFileName()
- Description copied from class:
XMLMigrator
- Get the filename to migrate.
-
- Specified by:
getFileName
in class XMLMigrator
getNamespaceURI
protected java.lang.String getNamespaceURI()
- Description copied from class:
XMLMigrator
- Get the XML namespace URI.
-
- Specified by:
getNamespaceURI
in class XMLMigrator
getRootTag
protected java.lang.String getRootTag()
- Description copied from class:
XMLMigrator
- Get the XML root element tag.
-
- Specified by:
getRootTag
in class XMLMigrator
prepareToMigrate
protected void prepareToMigrate()
- Description copied from class:
XMLMigrator
- Perform any preprocessing necessary before migrating the file. For subclasses of XMLMigrator, this would typically include making the necessary Object2Dom registrations.
-
- Overrides:
prepareToMigrate
in class XMLMigrator
readObject
protected java.lang.Object readObject(java.io.File sourceDir,
java.io.File destDir)
throws java.lang.Exception
- Description copied from class:
XMLMigrator
- Read in the settings.
-
- Overrides:
readObject
in class XMLMigrator
-
- Throws:
java.lang.Exception
writeObject
protected void writeObject(java.io.File sourceDir,
java.io.File destDir,
java.lang.Object settings)
throws java.lang.Exception
- Write out the settings.
-
- Overrides:
writeObject
in class XMLMigrator
-
- Throws:
java.lang.Exception
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.