001
002package net.filebot;
003
004import java.io.File;
005
006public interface RenameAction {
007
008        default File resolve(File from, File to) throws Exception {
009                return to;
010        }
011
012        default boolean canRename(File from, File to) {
013                return true;
014        }
015
016        File rename(File from, File to) throws Exception;
017
018}