Thor.API.Operations
Interface tcDeploymentUtilityOperationsIntf


public interface tcDeploymentUtilityOperationsIntf


Method Summary
 boolean importFromFile(byte[] pabFile)
          This method imports a byte array into the Xellerate database.
 boolean importFromFile(java.lang.String psFileName)
          This method imports an XML file into the Xellerate database.
 

Method Detail

importFromFile

public boolean importFromFile(java.lang.String psFileName)
                       throws java.io.IOException,
                              java.io.FileNotFoundException,
                              tcAPIException
This method imports an XML file into the Xellerate database.

Parameters:
psFileName - the full path and name of the file to import from
Returns:
true if the import succeeds, false if it fails.
Throws:
IOException
FileNotFoundException
tcAPIException

importFromFile

public boolean importFromFile(byte[] pabFile)
                       throws tcAPIException
This method imports a byte array into the Xellerate database.

Parameters:
pabFile - A byte array that contains the contents of an XML file exported by Xellerate. The byte array must have UTF-8 character encoding.
Returns:
true if the import succeeds, false if it fails.
Throws:
tcAPIException


Copyright © 1991, 2006 Oracle. All rights reserved.