Package de.willuhn.jameica.backup
Class BackupFile
- java.lang.Object
-
- de.willuhn.jameica.backup.BackupFile
-
- All Implemented Interfaces:
de.willuhn.datasource.GenericObject,java.rmi.Remote
public class BackupFile extends java.lang.Object implements de.willuhn.datasource.GenericObjectMeta-Container fuer ein einzelnes Backup.
-
-
Constructor Summary
Constructors Constructor Description BackupFile(java.io.File file)ct
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(de.willuhn.datasource.GenericObject other)java.lang.ObjectgetAttribute(java.lang.String name)java.lang.String[]getAttributeNames()java.io.FilegetFile()Liefert die eigentliche Backup-Datei.java.lang.StringgetID()java.lang.StringgetPrimaryAttribute()java.util.PropertiesgetProperties()Liefert eine Properties-Datei mit den Meta-Daten des Plugins.
-
-
-
Method Detail
-
getFile
public java.io.File getFile()
Liefert die eigentliche Backup-Datei.- Returns:
- die Backup-Datei.
-
getProperties
public java.util.Properties getProperties()
Liefert eine Properties-Datei mit den Meta-Daten des Plugins. Die Schluessel und Werte entsprechen der Datei "cfg/de.willuhn.jameica.plugin.PluginLoader.properties"- Returns:
- Properties des Backups.
-
equals
public boolean equals(de.willuhn.datasource.GenericObject other) throws java.rmi.RemoteException- Specified by:
equalsin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.equals(de.willuhn.datasource.GenericObject)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String name) throws java.rmi.RemoteException- Specified by:
getAttributein interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getAttribute(java.lang.String)
-
getAttributeNames
public java.lang.String[] getAttributeNames() throws java.rmi.RemoteException- Specified by:
getAttributeNamesin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getAttributeNames()
-
getID
public java.lang.String getID() throws java.rmi.RemoteException- Specified by:
getIDin interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getID()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException- Specified by:
getPrimaryAttributein interfacede.willuhn.datasource.GenericObject- Throws:
java.rmi.RemoteException- See Also:
GenericObject.getPrimaryAttribute()
-
-