Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


oracle.odi.impexp.smartie.impl
Class SmartImportServiceImpl

java.lang.Object
  extended by oracle.odi.impexp.smartie.impl.SmartImportServiceImpl

All Implemented Interfaces:
ISmartImportService

public final class SmartImportServiceImpl
extends java.lang.Object
implements ISmartImportService

Provides the implementation for performing a smart import of a smart export file.

Since:
11.1.1.6.0
See Also:
SmartExportServiceImpl

Constructor Summary
SmartImportServiceImpl(OdiInstance pOdiInstance)
          Constructs an ImportServiceImpl object.

 

Method Summary
 void importFromXml(java.lang.String pFileName)
          This method performs a Smart Import for a Smart Export XML file.
 void importFromXml(java.lang.String pFileName, java.lang.String pResponseFileName)
          This method performs a Smart Import for a Smart Export XML file.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

SmartImportServiceImpl

public SmartImportServiceImpl(OdiInstance pOdiInstance)
Constructs an ImportServiceImpl object.
Parameters:
pOdiInstance - an OdiInstance object

Method Detail

importFromXml

public void importFromXml(java.lang.String pFileName,
                          java.lang.String pResponseFileName)
                   throws OdiSmartImportException,
                          java.io.IOException
This method performs a Smart Import for a Smart Export XML file.
Specified by:
importFromXml in interface ISmartImportService
Parameters:
pFileName - the filename of the Smart Export xml file.
pResponseFileName - Smart Import response file saved from previous Smart Import UI session.
Throws:
java.io.IOException - if file does not exist.
OdiSmartImportException - if the import fails.

importFromXml

public void importFromXml(java.lang.String pFileName)
                   throws OdiSmartImportException,
                          java.io.IOException
This method performs a Smart Import for a Smart Export XML file.
Specified by:
importFromXml in interface ISmartImportService
Parameters:
pFileName - the filename of the Smart Export xml file.
Throws:
java.io.IOException - if file does not exist.
OdiSmartImportException - if the import fails.

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.6.0)

E17060-03


Copyright © 2011, Oracle and/or its affiliates. All rights reserved.