|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.businessobjects.sdk.biar.Archive
public class Archive
The Archive represents an exported BIAR archive on the disk
and provides access to meta-information about the archive.
| Constructor Summary | |
|---|---|
Archive(java.lang.String fileName)
Constructs an Archive object and creates the archive file
with the specified filename. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAppID()
Returns a unique ID for the application that generated the archive. |
java.lang.String |
getAppName()
Returns the name of the application that generated the archive. |
java.util.Properties |
getMetaInfo()
Returns a set of properties containing additional meta-information about the archive. |
java.util.List |
getSegmentList()
Returns the list of segments that were created for this archive. |
int |
getVersion()
Returns the version number of the SDK that was used to create the archive. |
boolean |
isEncrypted()
Returns true if the Archive is encrypted. |
boolean |
verifyPassword(java.lang.String password)
Checks whether the specified password can decrypt the BIAR file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Archive(java.lang.String fileName)
throws BIARException
Archive object and creates the archive file
with the specified filename.
fileName - the path to the BIAR file
BIARException - if the archive does not exist or cannot be opened.| Method Detail |
|---|
public java.util.List getSegmentList()
Archive constructor.
public java.util.Properties getMetaInfo()
public java.lang.String getAppID()
public java.lang.String getAppName()
public int getVersion()
public boolean isEncrypted()
public boolean verifyPassword(java.lang.String password)
throws java.io.IOException
java.io.IOException - Thrown if the password can't be parsed into a byte array correctly.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||