com.application.areca.metadata.manifest
Class Manifest
java.lang.Object
com.application.areca.metadata.manifest.Manifest
- All Implemented Interfaces:
- Duplicable
public class Manifest
- extends java.lang.Object
- implements Duplicable
Archive's manifest implementation
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CURRENT_VERSION
public static final long CURRENT_VERSION
- See Also:
- Constant Field Values
TYPE_BACKUP
public static final int TYPE_BACKUP
- See Also:
- Constant Field Values
TYPE_MERGE
public static final int TYPE_MERGE
- See Also:
- Constant Field Values
Manifest
public Manifest(int type)
getDate
public java.util.GregorianCalendar getDate()
setDate
public void setDate(java.util.GregorianCalendar date)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getTitle
public java.lang.String getTitle()
setTitle
public void setTitle(java.lang.String title)
addProperty
public void addProperty(java.lang.String name,
java.lang.String value)
addProperty
public void addProperty(java.lang.String name,
boolean value)
addProperty
public void addProperty(java.lang.String name,
long value)
getType
public int getType()
setType
public void setType(int type)
getStringProperty
public java.lang.String getStringProperty(java.lang.String name)
getStringProperty
public java.lang.String getStringProperty(java.lang.String name,
java.lang.String defaultValue)
getLongProperty
public long getLongProperty(java.lang.String name,
long defaultValue)
getIntProperty
public int getIntProperty(java.lang.String name,
int defaultValue)
getIntProperty
public int getIntProperty(java.lang.String name)
getBooleanProperty
public boolean getBooleanProperty(java.lang.String name)
propertyIterator
public java.util.Iterator propertyIterator()
duplicate
public Duplicable duplicate()
- Description copied from interface:
Duplicable
- Create a copy of the Duplicable
- Specified by:
duplicate
in interface Duplicable
getCurrentVersion
public static final long getCurrentVersion()
encode
public java.lang.String encode()
decode
public static Manifest decode(java.lang.String source)