|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A handler specification that backups and recovers business object parts.
Field Summary | |
static java.lang.String |
NAME_PROPERTY
|
static java.lang.String |
TYPE_PROPERTY
|
Method Summary | |
void |
backup(IBackupPart part,
java.io.OutputStream os)
Backup the part. |
java.util.Properties |
describePart(IBackupPart part)
Describes the part, typically in the form of property names and values. |
java.lang.String |
getType()
The type that this handler is able to handle. |
void |
recover(java.io.InputStream is)
Recovers the data that is sourced from the provided InputStream. |
Field Detail |
public static final java.lang.String NAME_PROPERTY
public static final java.lang.String TYPE_PROPERTY
Method Detail |
public java.util.Properties describePart(IBackupPart part) throws java.lang.Exception
Each part description is a new section in the jar. The section must begin with a Name property and therefore one of the properties must be name. The value of the name attribute must be the corresponding entry in the jar file.
part
-
java.lang.Exception
public void backup(IBackupPart part, java.io.OutputStream os) throws java.lang.Exception
part
- os
- should never be closed().
java.lang.Exception
public void recover(java.io.InputStream is) throws java.lang.Exception
is
-
java.lang.Exception
public java.lang.String getType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |