Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.projects.resources
Class ObjectArchiveResource

java.lang.Object
  extended by com.ibm.etools.iseries.projects.resources.ObjectArchiveResource

public class ObjectArchiveResource
extends Object


Constructor Summary
ObjectArchiveResource(IResource resource)
          Constructor to be used when restoring savf from object archive
ObjectArchiveResource(String objLibrary, String objName, String objType, String objSubtype, String oarName)
          Constructor to be used when creating an object archive from savf
 
Method Summary
 String getObjLibrary()
           
 String getObjName()
           
 String getObjType()
           
 File packObjectArchiveFile(File srcFile, String filePath)
           
 void readArchiveManifest(File manifest)
           
 File unpackObjectArchiveFile(String destPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectArchiveResource

public ObjectArchiveResource(String objLibrary,
                             String objName,
                             String objType,
                             String objSubtype,
                             String oarName)
Constructor to be used when creating an object archive from savf

Parameters:
objLibrary - Original library name of the binary object inside the save file
objName - Original name of the binary object inside the save file
objType - Original type of the binary object inside the save file
objSubtype - Original subtype of the binary object inside the save file
oarName - Name of the object archive to be created

ObjectArchiveResource

public ObjectArchiveResource(IResource resource)
Constructor to be used when restoring savf from object archive

Parameters:
resource - Object archive file inside iproject
Method Detail

packObjectArchiveFile

public File packObjectArchiveFile(File srcFile,
                                  String filePath)

unpackObjectArchiveFile

public File unpackObjectArchiveFile(String destPath)

readArchiveManifest

public void readArchiveManifest(File manifest)

getObjLibrary

public String getObjLibrary()
Returns:
Library name of the object inside the archive file

getObjName

public String getObjName()
Returns:
Name of the object inside the archive file

getObjType

public String getObjType()
Returns:
Type of the object inside the archive file

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.