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.GenericObject
Meta-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 boolean
equals(de.willuhn.datasource.GenericObject other)
java.lang.Object
getAttribute(java.lang.String name)
java.lang.String[]
getAttributeNames()
java.io.File
getFile()
Liefert die eigentliche Backup-Datei.java.lang.String
getID()
java.lang.String
getPrimaryAttribute()
java.util.Properties
getProperties()
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:
equals
in 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:
getAttribute
in 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:
getAttributeNames
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getAttributeNames()
-
getID
public java.lang.String getID() throws java.rmi.RemoteException
- Specified by:
getID
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getID()
-
getPrimaryAttribute
public java.lang.String getPrimaryAttribute() throws java.rmi.RemoteException
- Specified by:
getPrimaryAttribute
in interfacede.willuhn.datasource.GenericObject
- Throws:
java.rmi.RemoteException
- See Also:
GenericObject.getPrimaryAttribute()
-
-