接口 SkillFileFilter
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
Filter for deciding whether a skill resource should be uploaded.
-
方法概要
修饰符和类型方法说明booleanDetermines whether a resource path should be accepted for upload.static SkillFileFilterReturns a filter that accepts all files.
-
方法详细资料
-
accept
Determines whether a resource path should be accepted for upload.- 参数:
resourcePath- The resource path (relative to the skill root)- 返回:
- true if the resource should be uploaded, false otherwise
-
acceptAll
Returns a filter that accepts all files.- 返回:
- A filter that accepts all files
-