|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.mdm.service.Archive
An instance of this class references an webMethods MDM archive.
An archive represents a set of contents that are in a repository. It is used for propagating contents of one repository to another.
The implementations of this class are light-weight references to their underlying resource. For example, they do not open themselves a file stream if a file is provided.
The webMethods MDM archive must have been generated by an internal export procedure.
ProcedureContext.doExportArchive(Archive)
,
ProcedureContext.doImportArchive(Archive)
Field Summary | |
static String |
HEADER_DOCUMENT_NAME
Usual name of run header XML document. |
static String |
HEADER_TEMP_DOCUMENT_NAME
Temporary name of run header XML document, used as the file is being written. |
Constructor Summary | |
Archive()
|
Method Summary | |
abstract InputStream |
computeInputStream()
|
static Archive |
forDirectory(File baseDirectory)
Returns a reference to an archive in its expanded directory tree structure form. |
static Archive |
forFile(File fileToImport)
Returns a reference to an archive zip file. |
static Archive |
forStream(String locationInfoOrNull,
InputStream aStream)
Returns a reference to an archive zip stream. |
abstract String |
getLocationInfo()
Returns a user-readable information about the location of the archive |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String HEADER_DOCUMENT_NAME
public static final String HEADER_TEMP_DOCUMENT_NAME
Constructor Detail |
public Archive()
Method Detail |
public static Archive forFile(File fileToImport)
public static Archive forStream(String locationInfoOrNull, InputStream aStream)
public static Archive forDirectory(File baseDirectory)
public String toString()
public abstract InputStream computeInputStream() throws FileNotFoundException
FileNotFoundException
public abstract String getLocationInfo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(report a bug)
webMethods MDM 4.2.8 [0558]
Copyright Software AG 2000-2007. All rights reserved.