package com.yanzuoguang.cloud.file;

import com.yanzuoguang.util.vo.file.YzgFileVideoImageItemReqVo;

import java.io.IOException;

/**
 * 转换文件接口
 *
 * @author 颜佐光
 */
public interface YzgConvert {
    /**
     * 转换执行函数
     *
     * @param item       转换属性
     * @param from       来源文件
     * @param toFileTemp 目标文件
     */
    void run(YzgFileVideoImageItemReqVo item, String from, String toFileTemp) throws IOException;
}