public class LocalPathContentParser extends Object implements PathContentParser
| Constructor and Description |
|---|
LocalPathContentParser() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getFileAbsolutePath(List<String> pathList)
获取文件路径的绝对路径
|
List<String> |
parseContent(List<String> pathList)
解析路径下的文件内容
|
int |
priority() |
public List<String> parseContent(List<String> pathList) throws Exception
PathContentParserparseContent in interface PathContentParserpathList - 文件路径(支持 classpath 路径和 file 绝对路径,spring 环境支持
PathMatchingResourcePatternResolver 规则)Exception - expublic List<String> getFileAbsolutePath(List<String> pathList) throws Exception
PathContentParsergetFileAbsolutePath in interface PathContentParserpathList - 文件路径(支持 classpath 路径和 file 绝对路径,spring 环境支持
PathMatchingResourcePatternResolver 规则)Exception - expublic int priority()
priority in interface SpiPriorityCopyright © 2025. All rights reserved.