make PDFAttachZUGFeRDFile redundant, closes #43

This commit is contained in:
Jochen Stärk
2017-08-26 18:14:40 +02:00
parent 40a832847b
commit d92891de51

View File

@@ -389,8 +389,9 @@ public class ZUGFeRDExporter implements Closeable {
* @param zugferdData * @param zugferdData
* XML data to be set as a byte array (XML file in raw form). * XML data to be set as a byte array (XML file in raw form).
*/ */
public void setZUGFeRDXMLData(byte[] zugferdData) { public void setZUGFeRDXMLData(byte[] zugferdData) throws IOException {
this.zugferdData = zugferdData; this.zugferdData = zugferdData;
PDFattachZugferdFile(null);
} }
/** /**