001package org.unix4j.unix.uniq;
002
003import org.unix4j.context.ExecutionContext;
004import org.unix4j.line.Line;
005import org.unix4j.processor.AbstractLineProcessor;
006import org.unix4j.processor.LineProcessor;
007
008abstract class UniqProcessor extends AbstractLineProcessor<UniqArguments> {
009
010        public UniqProcessor(UniqCommand command, ExecutionContext context, LineProcessor output) {
011                super(command, context, output);
012        }
013
014        @Override
015        public final boolean processLine(Line line) {
016                return processLine(line, getOutput());
017        }
018
019        abstract protected boolean processLine(Line line, LineProcessor output);
020
021}