MT940UmsatzExporterMerged
public class MT940UmsatzExporter extends java.lang.Object implements Exporter
Modifier and Type | Class | Description |
---|---|---|
protected class |
MT940UmsatzExporter.MyOutputStreamWriter |
Ableitung von OutputStreamWriter, um die Umlaute umzuschreiben.
|
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
CHARSET |
MT940-Zeichensatz.
|
protected static java.text.DecimalFormat |
DECF |
|
protected static java.text.DateFormat |
DF_MMDD |
|
protected static java.text.DateFormat |
DF_YYMMDD |
|
protected static de.willuhn.util.I18N |
i18n |
|
protected static java.lang.String |
NL |
Constructor | Description |
---|---|
MT940UmsatzExporter() |
Modifier and Type | Method | Description |
---|---|---|
void |
doExport(java.lang.Object[] objects,
IOFormat format,
java.io.OutputStream os,
de.willuhn.util.ProgressMonitor monitor) |
Exportiert die genannten Objekte in den angegebenen OutputStream.
|
IOFormat[] |
getIOFormats(java.lang.Class objectType) |
Liefert eine Liste der von diesem unterstuetzten Datei-Formate.
|
java.lang.String |
getName() |
Liefert einen sprechenden Namen des Exporters/Importers.
|
boolean |
suppportsExtension(java.lang.String ext) |
Liefert true, wenn der Exporter die angegebene Extension unterstuetzt.
|
protected static final de.willuhn.util.I18N i18n
protected static final java.lang.String NL
protected static final java.text.DateFormat DF_YYMMDD
protected static final java.text.DateFormat DF_MMDD
protected static final java.text.DecimalFormat DECF
public static final java.lang.String CHARSET
public void doExport(java.lang.Object[] objects, IOFormat format, java.io.OutputStream os, de.willuhn.util.ProgressMonitor monitor) throws java.rmi.RemoteException, de.willuhn.util.ApplicationException
Exporter
doExport
in interface Exporter
objects
- die zu exportierenden Objekte.format
- das vom User ausgewaehlte Export-Format.os
- der Ziel-Ausgabe-Stream.
Der Exporter muss den OutputStream selbst schliessen!monitor
- ein Monitor, an den der Exporter Ausgaben ueber seinen
Bearbeitungszustand ausgeben kann.java.rmi.RemoteException
de.willuhn.util.ApplicationException
Exporter.doExport(java.lang.Object[], de.willuhn.jameica.hbci.io.IOFormat, java.io.OutputStream, de.willuhn.util.ProgressMonitor)
public IOFormat[] getIOFormats(java.lang.Class objectType)
IO
getIOFormats
in interface IO
objectType
- Art der zu exportierenden/importierenden Objekte.
Z.Bsb.: Umsatz.class oder SammellastBuchung.class.
Abhaengig davon kann der Exporter/Importer eine unterschiedliche
Liste von Dateiformaten liefern, die er zu dieser Objektart unterstuetzt.IO.getIOFormats(java.lang.Class)
public java.lang.String getName()
IO
getName
in interface IO
IO.getName()
public boolean suppportsExtension(java.lang.String ext)
Exporter
suppportsExtension
in interface Exporter
ext
- der Name der Extension.Exporter.suppportsExtension(java.lang.String)