de.jost_net.OBanToo.QIF
Class QIFDateiWriter
java.lang.Object
de.jost_net.OBanToo.QIF.QIFDateiWriter
public class QIFDateiWriter
- extends java.lang.Object
Erstellung von QIF-Dateien
Beispiel
FileOutputStream fos = new FileOutputStream("test.qif");
QIFDateiWriter qifw = new QIFDateiWriter(fos);
qifw.setBetrag(100.01);
qifw.setDatum(new Date());
qifw.setEmpfänger("Fritzchen Müller");
qifw.addAdresse("Testenhausen");
qifw.write();
qifw.setBetrag(200);
qifw.setDatum(new Date());
qifw.setEmpfänger("Franz Sepplhuber");
qifw.setKategorie("Reisen");
qifw.write();
qifw.close();
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QIFDateiWriter
public QIFDateiWriter(java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
setDatum
public void setDatum(java.util.Date value)
setBetrag
public void setBetrag(double value)
setEmpfänger
public void setEmpfänger(java.lang.String value)
setKategorie
public void setKategorie(java.lang.String value)
setClearedStatus
public void setClearedStatus(java.lang.String value)
setReferenz
public void setReferenz(java.lang.String value)
setMemo
public void setMemo(java.lang.String value)
addAdresse
public void addAdresse(java.lang.String value)
write
public void write()
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Throws:
java.io.IOException