Class XdocsTemplateSink.CustomPrintWriter

    • Constructor Detail

      • CustomPrintWriter

        private CustomPrintWriter​(Writer writer)
        Creates a new instance of this custom writer.
        Parameters:
        writer - not null writer to write the result
    • Method Detail

      • write

        public void write​(String line,
                          int offset,
                          int length)
        Unifies all newline characters to Unix-Style Newline character.
        Overrides:
        write in class PrintWriter
        Parameters:
        line - text that is to be written in the output file.
        offset - starting offset value for writing data.
        length - total length of string to be written.