FileSystemService.java 598 Bytes
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
package pwc.taxtech.atms.service;

import java.io.InputStream;

public interface FileSystemService {
    /**
     * 上传用户报表模板
     *
     * @param fileName    文件名
     * @param inputStream InputStream
     * @return 文件路径
     * @throws Exception ex
     */
    String uploadUserTemplate(String fileName, InputStream inputStream) throws Exception;

    /**
     * 下载用户报表模板
     *
     * @param filePath 文件路径
     * @return InputStream
     * @throws Exception ex
     */
    InputStream downloadUserTemplate(String filePath) throws Exception;

}