- java.lang.Object
-
- io.xlate.edi.stream.PropertySupport
-
- io.xlate.edi.stream.EDIOutputFactory
-
- io.xlate.edi.internal.stream.StaEDIOutputFactory
-
public class StaEDIOutputFactory extends EDIOutputFactory
-
-
Field Summary
-
Fields inherited from class io.xlate.edi.stream.EDIOutputFactory
PRETTY_PRINT
-
Fields inherited from class io.xlate.edi.stream.PropertySupport
properties, supportedProperties
-
-
Constructor Summary
Constructors Constructor Description StaEDIOutputFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EDIStreamWritercreateEDIStreamWriter(OutputStream stream)Create a new EDIStreamWriter that writes to a streamEDIStreamWritercreateEDIStreamWriter(OutputStream stream, String encoding)Create a new EDIStreamWriter that writes to a stream-
Methods inherited from class io.xlate.edi.stream.EDIOutputFactory
newFactory
-
Methods inherited from class io.xlate.edi.stream.PropertySupport
getProperty, isPropertySupported, setProperty
-
-
-
-
Method Detail
-
createEDIStreamWriter
public EDIStreamWriter createEDIStreamWriter(OutputStream stream)
Description copied from class:EDIOutputFactoryCreate a new EDIStreamWriter that writes to a stream- Specified by:
createEDIStreamWriterin classEDIOutputFactory- Parameters:
stream- - the stream to write to- Returns:
- the writer instance
-
createEDIStreamWriter
public EDIStreamWriter createEDIStreamWriter(OutputStream stream, String encoding) throws EDIStreamException
Description copied from class:EDIOutputFactoryCreate a new EDIStreamWriter that writes to a stream- Specified by:
createEDIStreamWriterin classEDIOutputFactory- Parameters:
stream- - the stream to write toencoding- - the encoding to use- Returns:
- the writer instance
- Throws:
EDIStreamException- when encoding is not supported
-
-