public class URLLocatorStrategy extends java.lang.Object implements LocatorStrategy
| Modifier and Type | Field and Description |
|---|---|
private boolean |
tempFileDeleteOnExit |
private java.lang.String |
tempFilePrefix |
private java.lang.String |
tempFileSuffix |
| Constructor and Description |
|---|
URLLocatorStrategy()
Create instance.
|
URLLocatorStrategy(java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean tempFileDeleteOnExit) |
| Modifier and Type | Method and Description |
|---|---|
Location |
resolve(java.lang.String locationSpecification,
MessageHolder messageHolder) |
private java.lang.String tempFilePrefix
private java.lang.String tempFileSuffix
private boolean tempFileDeleteOnExit
public URLLocatorStrategy()
public URLLocatorStrategy(java.lang.String tempFilePrefix,
java.lang.String tempFileSuffix,
boolean tempFileDeleteOnExit)
tempFilePrefix - prefix.tempFileSuffix - suffix.tempFileDeleteOnExit - delete on exit.public Location resolve(java.lang.String locationSpecification, MessageHolder messageHolder)
resolve in interface LocatorStrategylocationSpecification - the specification.messageHolder - MessageHolderLocation