de.willuhn.jameica.backup
Class BackupFile

java.lang.Object
  extended by 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
BackupFile(java.io.File file)
          ct
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupFile

public BackupFile(java.io.File file)
           throws de.willuhn.util.ApplicationException
ct

Parameters:
file - die eigentliche ZIP-Datei.
Throws:
de.willuhn.util.ApplicationException
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 interface de.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 interface de.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 interface de.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 interface de.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 interface de.willuhn.datasource.GenericObject
Throws:
java.rmi.RemoteException
See Also:
GenericObject.getPrimaryAttribute()