All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unix4j.unix.uniq.UniqProcessor Maven / Gradle / Ivy

There is a newer version: 0.6
Show newest version
package org.unix4j.unix.uniq;

import org.unix4j.context.ExecutionContext;
import org.unix4j.line.Line;
import org.unix4j.processor.AbstractLineProcessor;
import org.unix4j.processor.LineProcessor;

abstract class UniqProcessor extends AbstractLineProcessor {

	public UniqProcessor(UniqCommand command, ExecutionContext context, LineProcessor output) {
		super(command, context, output);
	}

	@Override
	public final boolean processLine(Line line) {
		return processLine(line, getOutput());
	}

	abstract protected boolean processLine(Line line, LineProcessor output);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy