org.apache.maven.shared.io.location
Class URLLocatorStrategy

java.lang.Object
  extended by org.apache.maven.shared.io.location.URLLocatorStrategy
All Implemented Interfaces:
LocatorStrategy

public class URLLocatorStrategy
extends java.lang.Object
implements LocatorStrategy


Field Summary
private  boolean tempFileDeleteOnExit
           
private  java.lang.String tempFilePrefix
           
private  java.lang.String tempFileSuffix
           
 
Constructor Summary
URLLocatorStrategy()
           
URLLocatorStrategy(java.lang.String tempFilePrefix, java.lang.String tempFileSuffix, boolean tempFileDeleteOnExit)
           
 
Method Summary
 Location resolve(java.lang.String locationSpecification, MessageHolder messageHolder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tempFilePrefix

private java.lang.String tempFilePrefix

tempFileSuffix

private java.lang.String tempFileSuffix

tempFileDeleteOnExit

private boolean tempFileDeleteOnExit
Constructor Detail

URLLocatorStrategy

public URLLocatorStrategy()

URLLocatorStrategy

public URLLocatorStrategy(java.lang.String tempFilePrefix,
                          java.lang.String tempFileSuffix,
                          boolean tempFileDeleteOnExit)
Method Detail

resolve

public Location resolve(java.lang.String locationSpecification,
                        MessageHolder messageHolder)
Specified by:
resolve in interface LocatorStrategy