类 ClasspathResourceLocatorStrategy
- java.lang.Object
-
- org.apache.maven.shared.io.location.ClasspathResourceLocatorStrategy
-
- 所有已实现的接口:
LocatorStrategy
public class ClasspathResourceLocatorStrategy extends java.lang.Object implements LocatorStrategy
classpath resource locator strategy.
-
-
构造器概要
构造器 构造器 说明 ClasspathResourceLocatorStrategy()
Create instance.ClasspathResourceLocatorStrategy(java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Location
resolve(java.lang.String locationSpecification, MessageHolder messageHolder)
-
-
-
构造器详细资料
-
ClasspathResourceLocatorStrategy
public ClasspathResourceLocatorStrategy()
Create instance.
-
ClasspathResourceLocatorStrategy
public ClasspathResourceLocatorStrategy(java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
- 参数:
tempFilePrefix
- Prefix.tempFileSuffix
- Suffix.tempFileDeleteOnExit
- delete on exit.
-
-
方法详细资料
-
resolve
public Location resolve(java.lang.String locationSpecification, MessageHolder messageHolder)
- 指定者:
resolve
在接口中LocatorStrategy
- 参数:
locationSpecification
- the specification.messageHolder
-MessageHolder
- 返回:
Location
-
-