public class ClasspathResourceLocatorStrategy 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 |
|---|
ClasspathResourceLocatorStrategy()
Create instance.
|
ClasspathResourceLocatorStrategy(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 ClasspathResourceLocatorStrategy()
public ClasspathResourceLocatorStrategy(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