package com.ruoyi.kkfileview.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 文件预览服务接口
 * 
 * @author jackeyhuang
 * @version 1.0.0
 * @date 2026-01-11
 */
public interface FilePreviewService
{
    /**
     * 预览文件
     * 
     * @param fileUrl 文件URL
     * @param request HTTP请求
     * @param response HTTP响应
     * @throws Exception 预览异常
     */
    void previewFile(String fileUrl, HttpServletRequest request, HttpServletResponse response) throws Exception;
}
