|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Archivable
An interface for objects that can be archived. Archivable classes must
have a constructor with 'String' and 'Archivable.Marker' parameters,
like this:
public ArchivableImpl(String dataStr, Archivable.Marker mkrObj) ...
This constructor is used to create the class from a string of data.
The 'Archivable.Marker' is used to mark the constructor as being
available for de-archiving (and will usually be 'null').
Nested Class Summary | |
---|---|
static class |
Archivable.Marker
|
Method Summary | |
---|---|
java.util.Date |
getArchiveDate()
Returns a 'Date' object representing the date to be used for archival purposes. |
java.lang.String |
toArchivedForm()
Returns the archivable representation for this object. |
Method Detail |
---|
java.util.Date getArchiveDate()
java.lang.String toArchivedForm()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |