public interface UNEdifactInterchangeFactory
| Modifier and Type | Method and Description |
|---|---|
UNEdifactInterchange |
fromUNEdifact(InputSource ediSource,
Result... additionalResults)
Create a
UNEdifactInterchange from the supplied UN/EDIFACT EDI Stream. |
UNEdifactInterchange |
fromUNEdifact(InputStream ediStream,
Result... additionalResults)
Create a
UNEdifactInterchange from the supplied UN/EDIFACT EDI Stream. |
void |
setReportPath(String reportPath)
Set the Execution Report output path.
|
void |
toUNEdifact(UNEdifactInterchange interchange,
Writer writer)
Serialized the supplied
UNEdifactInterchange to a UN/EDIFACT EDI Stream. |
UNEdifactInterchange fromUNEdifact(InputStream ediStream, Result... additionalResults) throws IOException
UNEdifactInterchange from the supplied UN/EDIFACT EDI Stream.ediStream - The UN/EDIFACT interchange data stream.additionalResults - Additional results e.g. supply a StreamResult
to capture the serialized XML event stream generated by the UNEdifact reader.IOException - Error reading interchange data stream.UNEdifactInterchange fromUNEdifact(InputSource ediSource, Result... additionalResults) throws IOException
UNEdifactInterchange from the supplied UN/EDIFACT EDI Stream.ediSource - The UN/EDIFACT interchange data stream.additionalResults - Additional results e.g. supply a StreamResult
to capture the serialized XML event stream generated by the UNEdifact reader.IOException - Error reading interchange data stream.void toUNEdifact(UNEdifactInterchange interchange, Writer writer) throws IOException
UNEdifactInterchange to a UN/EDIFACT EDI Stream.interchange - The interchange instance to be serialized.writer - The output writer.IOException - Exception writing interchange.void setReportPath(String reportPath)
reportPath - Execution Report output path.Copyright © 2015. All rights reserved.