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