Class LineSeparatorHarmonizer

  • All Implemented Interfaces:
    IFilePostProcessor

    public class LineSeparatorHarmonizer
    extends java.lang.Object
    implements IFilePostProcessor
    Replaces all line breaks with the configured line separator.
    Since:
    2.3
    • Constructor Detail

      • LineSeparatorHarmonizer

        public LineSeparatorHarmonizer()
    • Method Detail

      • postProcess

        public java.lang.CharSequence postProcess​(org.eclipse.emf.common.util.URI fileURI,
                                                  java.lang.CharSequence content)
        Specified by:
        postProcess in interface IFilePostProcessor
      • replaceLineSeparators

        protected java.lang.String replaceLineSeparators​(java.lang.CharSequence content,
                                                         java.lang.String newLineSeparator)