Class XdocsTemplateSink.CustomPrintWriter

    • Constructor Detail

      • CustomPrintWriter

        private CustomPrintWriter​(Writer writer)
        Creates a new instance of this custom writer.
        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.
        write in class PrintWriter
        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.