Class URLLocatorStrategy
- java.lang.Object
-
- org.apache.maven.shared.io.location.URLLocatorStrategy
-
- All Implemented Interfaces:
LocatorStrategy
public class URLLocatorStrategy extends java.lang.Object implements LocatorStrategy
URL Locator Strategy.
-
-
Field Summary
Fields Modifier and Type Field Description private booleantempFileDeleteOnExitprivate java.lang.StringtempFilePrefixprivate java.lang.StringtempFileSuffix
-
Constructor Summary
Constructors Constructor Description URLLocatorStrategy()Create instance.URLLocatorStrategy(java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Locationresolve(java.lang.String locationSpecification, MessageHolder messageHolder)
-
-
-
Constructor Detail
-
URLLocatorStrategy
public URLLocatorStrategy()
Create instance.
-
URLLocatorStrategy
public URLLocatorStrategy(java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)- Parameters:
tempFilePrefix- prefix.tempFileSuffix- suffix.tempFileDeleteOnExit- delete on exit.
-
-
Method Detail
-
resolve
public Location resolve(java.lang.String locationSpecification, MessageHolder messageHolder)
- Specified by:
resolvein interfaceLocatorStrategy- Parameters:
locationSpecification- the specification.messageHolder-MessageHolder- Returns:
Location
-
-