2009-04-26 09:34:22 -04:00
|
|
|
|
2014-04-19 02:30:29 -04:00
|
|
|
package net.filebot.ui.rename;
|
2009-04-26 09:34:22 -04:00
|
|
|
|
|
|
|
|
2013-01-27 03:17:12 -05:00
|
|
|
import java.util.Map;
|
|
|
|
|
2014-04-19 02:30:29 -04:00
|
|
|
import net.filebot.similarity.Match;
|
2009-04-26 09:34:22 -04:00
|
|
|
|
|
|
|
|
2009-05-10 13:03:51 -04:00
|
|
|
public interface MatchFormatter {
|
2015-07-25 18:47:19 -04:00
|
|
|
|
2009-04-26 09:34:22 -04:00
|
|
|
public boolean canFormat(Match<?, ?> match);
|
2015-07-25 18:47:19 -04:00
|
|
|
|
|
|
|
|
2009-04-26 09:34:22 -04:00
|
|
|
public String preview(Match<?, ?> match);
|
2015-07-25 18:47:19 -04:00
|
|
|
|
|
|
|
|
2013-01-27 03:17:12 -05:00
|
|
|
public String format(Match<?, ?> match, Map<?, ?> context) throws Exception;
|
2015-07-25 18:47:19 -04:00
|
|
|
|
2009-04-26 09:34:22 -04:00
|
|
|
}
|