ch.tatool.app.export
Class ServerDataExporter

java.lang.Object
  extended by ch.tatool.app.export.DataExporterImpl
      extended by ch.tatool.app.export.ServerDataExporter
All Implemented Interfaces:
DataExporter

public class ServerDataExporter
extends DataExporterImpl

Uploads module data to a server. This class works together with tatool-online (which represents the server side part of the connection).

Author:
Michael Ruflin

Field Summary
 DataExporterError exporterError
           
 MessagesImpl messages
           
static String PROPERTY_EXPORT_PASSWORD
          Password used to export the data (used for server authentication).
static String PROPERTY_EXPORT_USERNAME
          Username used to export the data (used for server authentication).
 String url
           
 
Fields inherited from class ch.tatool.app.export.DataExporterImpl
dataService
 
Constructor Summary
ServerDataExporter()
           
 
Method Summary
 String exportData(Component parentFrame, Module module, int fromSessionIndex, DataExporterError exporterError)
           
 String getExporterName()
           
static String getStackTrace(Throwable aThrowable)
           
 String getUrl()
           
 void setUrl(String url)
           
 
Methods inherited from class ch.tatool.app.export.DataExporterImpl
getAutoExport, getDataService, getId, getIncrementalExport, isAutoExport, isIncrementalExport, setAutoExport, setDataService, setId, setIncrementalExport
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_EXPORT_USERNAME

public static final String PROPERTY_EXPORT_USERNAME
Username used to export the data (used for server authentication).

See Also:
Constant Field Values

PROPERTY_EXPORT_PASSWORD

public static final String PROPERTY_EXPORT_PASSWORD
Password used to export the data (used for server authentication).

See Also:
Constant Field Values

url

public String url

messages

public MessagesImpl messages

exporterError

public DataExporterError exporterError
Constructor Detail

ServerDataExporter

public ServerDataExporter()
Method Detail

exportData

public String exportData(Component parentFrame,
                         Module module,
                         int fromSessionIndex,
                         DataExporterError exporterError)
Specified by:
exportData in interface DataExporter
Overrides:
exportData in class DataExporterImpl

getStackTrace

public static String getStackTrace(Throwable aThrowable)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getExporterName

public String getExporterName()
Specified by:
getExporterName in interface DataExporter
Overrides:
getExporterName in class DataExporterImpl


Copyright © 2012. All Rights Reserved.