feat #I6BDLN 增加接口注释

This commit is contained in:
gaibu 2023-01-30 22:18:34 +08:00
parent ec48c71a9d
commit dd22f0e0f5
1 changed files with 15 additions and 1 deletions

View File

@ -2,9 +2,23 @@ package com.yomahub.liteflow.spi;
import java.util.List;
public interface PathContentParser extends SpiPriority{
public interface PathContentParser extends SpiPriority {
/**
* 解析路径下的文件内容
*
* @param pathList 文件路径支持 classpath 路径和 file 绝对路径spring 环境支持 PathMatchingResourcePatternResolver 规则
* @return 返回文件内容
* @throws Exception ex
*/
List<String> parseContent(List<String> pathList) throws Exception;
/**
* 获取文件路径的绝对路径
*
* @param pathList 文件路径支持 classpath 路径和 file 绝对路径spring 环境支持 PathMatchingResourcePatternResolver 规则
* @return 返回文件绝对路径
* @throws Exception ex
*/
List<String> getFileAbsolutePath(List<String> pathList) throws Exception;
}