Extension SDK

oracle.jdeveloper.library
Class LibraryMigrator

java.lang.Object
  |
  +--oracle.ide.migration.XMLMigrator
        |
        +--oracle.jdeveloper.library.LibraryMigrator
All Implemented Interfaces:
oracle.ide.migration.Migrator

public class LibraryMigrator
extends oracle.ide.migration.XMLMigrator


Field Summary
 
Fields inherited from interface oracle.ide.migration.Migrator
JDEV_HOME_DIR, SYSTEM_DIR
 
Constructor Summary
LibraryMigrator()
           
 
Method Summary
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.
 
Methods inherited from class oracle.ide.migration.XMLMigrator
canMigrate, categoryToIndex, getDestFile, getLogger, getMigrationCategories, getObjectStore, getSourceFile, isAnyCategorySelected, isSelected, isValidCategory, migrate, prepareToMigrate, readObject, setSelected, writeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LibraryMigrator

public LibraryMigrator()
Method Detail

getFileName

protected java.lang.String getFileName()
Description copied from class: oracle.ide.migration.XMLMigrator
Get the filename to migrate.

Specified by:
getFileName in class oracle.ide.migration.XMLMigrator

getNamespaceURI

protected java.lang.String getNamespaceURI()
Description copied from class: oracle.ide.migration.XMLMigrator
Get the XML namespace URI.

Specified by:
getNamespaceURI in class oracle.ide.migration.XMLMigrator

getRootTag

protected java.lang.String getRootTag()
Description copied from class: oracle.ide.migration.XMLMigrator
Get the XML root element tag.

Specified by:
getRootTag in class oracle.ide.migration.XMLMigrator

getDescription

public java.lang.String getDescription(int category)
Description copied from interface: oracle.ide.migration.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.


adjustObject

protected java.lang.Object adjustObject(java.io.File sourceDir,
                                        java.io.File destDir,
                                        java.lang.Object obj)
                                 throws java.lang.Exception
Description copied from class: oracle.ide.migration.XMLMigrator
Perform any postprocessing necessary before migrating the file.

Overrides:
adjustObject in class oracle.ide.migration.XMLMigrator
java.lang.Exception

Extension SDK

 

Copyright ©1997, 2003, Oracle. All rights reserved.