Class UnixLinefeedProcessor

  • All Implemented Interfaces:
    StringProcessor

    public class UnixLinefeedProcessor
    extends Object
    implements StringProcessor
    Converts Windows CR/LF character sequences to Unix LF sequences.
    • Constructor Detail

      • UnixLinefeedProcessor

        public UnixLinefeedProcessor()
    • Method Detail

      • process

        public String process​(String toProcess)
        Converts Windows CR/LF character sequences to Unix LF sequences.
        Specified by:
        process in interface StringProcessor
        Parameters:
        toProcess - the String to process, not null.
        Returns:
        the processed String, not null.