com.openindex.openestate.tool.agency.export
Class AbstractTransport

java.lang.Object
  extended by com.openindex.openestate.tool.agency.export.AbstractTransport
Direct Known Subclasses:
FtpTransport, HttpTransport, LocalTransport

public abstract class AbstractTransport
extends Object

AbstractTransport.
$Id: AbstractTransport.java 1779 2012-09-25 15:45:05Z andy $

Author:
Andreas Rudolph

Constructor Summary
AbstractTransport()
          Erzeugt eine Instanz der Klasse 'AbstractTransport'
 
Method Summary
 void cancelTransport()
           
abstract  AbstractTransportPanel createSetupPanel()
           
abstract  void doTransport(File exportDir, AbstractExport export, AgencyExportSummary summary, ImmoToolTask.Callback callback)
          Einen Transport durchführen.
abstract  String getName()
           
 String[] getResponseProtocols()
           
abstract  String getTitle()
           
static Map<String,AbstractTransport> listAvailableTransports()
           
 void load(Properties props)
           
 void save(Properties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTransport

public AbstractTransport()
Erzeugt eine Instanz der Klasse 'AbstractTransport'

Method Detail

cancelTransport

public void cancelTransport()

createSetupPanel

public abstract AbstractTransportPanel createSetupPanel()

doTransport

public abstract void doTransport(File exportDir,
                                 AbstractExport export,
                                 AgencyExportSummary summary,
                                 ImmoToolTask.Callback callback)
                          throws AgencyExportException,
                                 ImmoToolTaskCancelledException
Einen Transport durchführen.

Parameters:
exportDir - temporäres Export-Verzeichnis
export - Export-Objekt
summary - Zusammenfassung des Exportes
callback - Callback-Objekt des ausführenden Tasks
Throws:
AgencyExportException - Fehler beim Transport
ImmoToolTaskCancelledException

getName

public abstract String getName()

getResponseProtocols

public String[] getResponseProtocols()

getTitle

public abstract String getTitle()

listAvailableTransports

public static Map<String,AbstractTransport> listAvailableTransports()

load

public void load(Properties props)

save

public void save(Properties props)


Copyright © 2012 OpenEstate. All Rights Reserved.