Extend constructor for streaming /library/src/main/java/org/mustangproject/ZUGFeRD/ZUGFeRDInvoiceImporter.java
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.mustangproject.ZUGFeRD;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.math.BigDecimal;
|
||||
import java.math.RoundingMode;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
@@ -43,6 +44,10 @@ public class ZUGFeRDInvoiceImporter extends ZUGFeRDImporter {
|
||||
super(filename);
|
||||
}
|
||||
|
||||
public ZUGFeRDInvoiceImporter(InputStream stream) {
|
||||
super(stream);
|
||||
}
|
||||
|
||||
public void fromXML(String XML) {
|
||||
try {
|
||||
containsMeta = true;
|
||||
|
||||
Reference in New Issue
Block a user