org.apache.tools.ant.filters

Class UniqFilter

public class UniqFilter extends TokenFilter.ChainableReaderFilter

Like the Unix uniq(1) command, only returns tokens that are different from their ancestor token.

This filter is probably most useful if used together with a sortfilter.

Since: Ant 1.8.0

Method Summary
Stringfilter(String string)

Method Detail

filter

public String filter(String string)