Uses of Class
io.xlate.edi.stream.EDIStreamException
Packages that use EDIStreamException
-
Uses of EDIStreamException in io.xlate.edi.stream
Methods in io.xlate.edi.stream that throw EDIStreamExceptionModifier and TypeMethodDescriptionvoidEDIStreamWriter.close()Close this writer and free any resources associated with the writer.abstract EDIStreamReaderEDIInputFactory.createEDIStreamReader(InputStream stream, String encoding) Creates a newEDIStreamReaderusing the givenInputStreamand encoding.abstract EDIStreamReaderEDIInputFactory.createEDIStreamReader(InputStream stream, String encoding, Schema schema) Creates a newEDIStreamReaderusing the givenInputStreamand encoding which uses theSchemafor validation of the input's control structures (interchange, group, transaction).abstract EDIStreamWriterEDIOutputFactory.createEDIStreamWriter(OutputStream stream, String encoding) Create a new EDIStreamWriter that writes to a streamEDIStreamWriter.endComponent()Complete a component of a composite element.EDIStreamWriter.endElement()Complete an element.EDIStreamWriter.endInterchange()Completes an interchange and returns the writer to its initial state.voidEDIStreamWriter.flush()Write any cached data to the underlying output mechanism.booleanEDIStreamReader.hasNext()Returns true if there are more parsing events and false if there are no more events.EDIStreamReader.next()Get next parsing eventEDIStreamReader.nextTag()Skips any ELEMENT_DATA, START_COMPOSITE, and END_COMPOSITE until a START_SEGMENT is reached.voidEDIInputErrorReporter.report(EDIStreamValidationError errorType, EDIStreamReader reader) Report the desired message in an application specific format.voidEDIStreamReader.setBinaryDataLength(long length) Sets the number of bytes that should be read as binary data and not interpreted as EDI data.EDIStreamWriter.startComponent()Start a component of a composite element.EDIStreamWriter.startInterchange()Initialize this writer to begin writing an interchange.EDIStreamWriter.writeBinaryData(byte[] binary, int start, int end) Write binary data from the given byte array to the output.EDIStreamWriter.writeBinaryData(InputStream stream) Write binary data from the given InputStream to the output.EDIStreamWriter.writeBinaryData(ByteBuffer buffer) Write binary data from the given buffer to the output.EDIStreamWriter.writeComponent(char[] text, int start, int end) Begin a component element, write text data from the given char array to the output, and end the element.EDIStreamWriter.writeComponent(CharSequence text) Begin a component element, write text data from the given CharSequence to the output, and end the element.EDIStreamWriter.writeElement(char[] text, int start, int end) Begin an element, write text data from the given char array to the output, and end the element.EDIStreamWriter.writeElement(CharSequence text) Begin an element, write text data from the given CharSequence to the output, and end the element.EDIStreamWriter.writeElementData(char[] text, int start, int end) Write text data from the given char array to the output.EDIStreamWriter.writeElementData(CharSequence text) Write text data from the given CharSequence to the output.EDIStreamWriter.writeEmptyComponent()Write an empty componentEDIStreamWriter.writeEmptyElement()Write an empty simple element.EDIStreamWriter.writeEndSegment()Complete a segment by writing the segment terminator to the underlying output.EDIStreamWriter.writeRepeatElement()Write an element repeat delimiter/separator to the output stream.EDIStreamWriter.writeStartElement()Start a new element, composite or simple.EDIStreamWriter.writeStartElementBinary()Start a new element for binary data.EDIStreamWriter.writeStartSegment(String name) Begin a new segment with the given name and write the tag to the underlying output.