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 boolean
tempFileDeleteOnExit
private java.lang.String
tempFilePrefix
private java.lang.String
tempFileSuffix
-
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 Location
resolve(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:
resolve
in interfaceLocatorStrategy
- Parameters:
locationSpecification
- the specification.messageHolder
-MessageHolder
- Returns:
Location
-
-