|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.willuhn.jameica.hbci.io.VelocityExporter
public class VelocityExporter
Implementierung eines Exporters, welcher das Velocity-Framework nutzt.
| Nested Class Summary | |
|---|---|
class |
VelocityExporter.VelocityFormat
Hilfsklase, die das IOFormat implementiert. |
| Field Summary |
|---|
| Fields inherited from interface de.willuhn.jameica.hbci.io.Exporter |
|---|
SESSION |
| Constructor Summary | |
|---|---|
VelocityExporter()
ct. |
|
| Method Summary | |
|---|---|
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 type)
Liefert eine Liste der von diesem unterstuetzten Datei-Formate. |
java.lang.String |
getName()
Liefert einen sprechenden Namen des Exporters/Importers. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VelocityExporter()
| Method Detail |
|---|
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 Exporterobjects - 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.ApplicationExceptionExporter.doExport(java.lang.Object[], de.willuhn.jameica.hbci.io.IOFormat, java.io.OutputStream, de.willuhn.util.ProgressMonitor)public java.lang.String getName()
IO
getName in interface IOIO.getName()public IOFormat[] getIOFormats(java.lang.Class type)
IO
getIOFormats in interface IOtype - 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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||