public class StringToResourceConverter extends Object implements org.springframework.core.convert.converter.Converter<String,Resource>, org.springframework.context.ApplicationContextAware
Resource properties using a string representing a Spring resource. The Spring resource is
retrieved by the application context. If the application context is null, then a DefaultResourceLoader is
used instead to get the resource.| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
applicationContext
Application context.
|
| Constructor and Description |
|---|
StringToResourceConverter() |
| Modifier and Type | Method and Description |
|---|---|
Resource |
convert(String source) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
@Nullable private org.springframework.context.ApplicationContext applicationContext
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.