|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.orchestranetworks.service.Archive
An instance of this class references an EBX.Platform 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 EBX.Platform archive must have been generated by an internal export procedure.
ProcedureContext.doExportArchive(Archive),
ProcedureContext.doImportArchive(Archive)| Field Summary | |
static String |
DIFF_HEADERS_ZIP_ENTRY
Name of the zip entry for headers' differences. |
static String |
DIFF_RIGHTS_ZIP_ENTRY
Name of the zip entry for rights' differences. |
static String |
DIFF_VALUES_ZIP_ENTRY
Name of the zip entry for values' differences. |
static String |
HEADER_DOCUMENT_NAME
Usual name of run header XML document. |
static String |
HEADER_TEMP_DOCUMENT_NAME
Deprecated. |
static String |
TABLE_VALUES_ZIP_ENTRY
|
| 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 archiveFile)
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
public static final String DIFF_HEADERS_ZIP_ENTRY
public static final String DIFF_RIGHTS_ZIP_ENTRY
public static final String DIFF_VALUES_ZIP_ENTRY
public static final String TABLE_VALUES_ZIP_ENTRY
| Constructor Detail |
public Archive()
| Method Detail |
public static Archive forFile(File archiveFile)
public static Archive forStream(String locationInfoOrNull,
InputStream aStream)
public static Archive forDirectory(File baseDirectory)
public String toString()
public abstract InputStream computeInputStream()
throws FileNotFoundException
FileNotFoundExceptionpublic abstract String getLocationInfo()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
(report a bug)
EBX.Platform 4.5.2 [0601:0004]
Copyright Orchestra Networks 2000-2008. All rights reserved.