com.ibm.etools.iseries.projects.resources
Class ObjectArchiveResource
java.lang.Object
com.ibm.etools.iseries.projects.resources.ObjectArchiveResource
public class ObjectArchiveResource
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 fileobjName
- Original name of the binary object inside the save fileobjType
- Original type of the binary object inside the save fileobjSubtype
- Original subtype of the binary object inside the save fileoarName
- 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
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
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.