Class BackupFile

java.lang.Object
de.willuhn.jameica.backup.BackupFile
All Implemented Interfaces:
de.willuhn.datasource.GenericObject, Remote

public class BackupFile extends Object implements de.willuhn.datasource.GenericObject
Meta-Container fuer ein einzelnes Backup.
  • Constructor Details

    • BackupFile

      public BackupFile(File file) throws de.willuhn.util.ApplicationException
      ct
      Parameters:
      file - die eigentliche ZIP-Datei.
      Throws:
      de.willuhn.util.ApplicationException
  • Method Details

    • getFile

      public File getFile()
      Liefert die eigentliche Backup-Datei.
      Returns:
      die Backup-Datei.
    • getProperties

      public 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 RemoteException
      Specified by:
      equals in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.equals(de.willuhn.datasource.GenericObject)
    • getAttribute

      public Object getAttribute(String name) throws RemoteException
      Specified by:
      getAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttribute(java.lang.String)
    • getAttributeNames

      public String[] getAttributeNames() throws RemoteException
      Specified by:
      getAttributeNames in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getAttributeNames()
    • getID

      public String getID() throws RemoteException
      Specified by:
      getID in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getID()
    • getPrimaryAttribute

      public String getPrimaryAttribute() throws RemoteException
      Specified by:
      getPrimaryAttribute in interface de.willuhn.datasource.GenericObject
      Throws:
      RemoteException
      See Also:
      • GenericObject.getPrimaryAttribute()