Class AbstractEdiFormatter

  • Direct Known Subclasses:
    EdiFormatter

    public abstract class AbstractEdiFormatter
    extends AbstractFormatter
    Top level Edi Formatter class. Contains utilities for Edi output management.
    • Field Detail

      • outputPrinter

        protected java.io.Writer outputPrinter
    • Constructor Detail

      • AbstractEdiFormatter

        public AbstractEdiFormatter​(java.io.Writer osw)
      • AbstractEdiFormatter

        public AbstractEdiFormatter​(java.io.Writer osw,
                                    IEdiSeparatorSet separatorSet)
    • Method Detail

      • print

        protected void print​(java.lang.String text)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • print

        protected void print​(char charVal)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • printSegmentIDChar

        protected void printSegmentIDChar()
                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • printSegmentEndChar

        protected void printSegmentEndChar()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • printFieldSepChar

        protected void printFieldSepChar()
                                  throws java.io.IOException
        Throws:
        java.io.IOException
      • printCompositeSepChar

        protected void printCompositeSepChar()
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • getCompositeSepChar

        protected char getCompositeSepChar()
                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • getFieldSepChar

        protected char getFieldSepChar()
                                throws java.io.IOException
        Throws:
        java.io.IOException
      • closeStream

        public void closeStream()
                         throws java.io.IOException
        Flush and close the XML writer.
        Throws:
        javax.xml.stream.XMLStreamException
        java.io.IOException