public class StringSource<T> extends AbstractSource<T> implements Source<T>
Source that loads the contents of a String.| Constructor and Description |
|---|
StringSource(String source)
Builds a new configuration source from the specified string.
|
| Modifier and Type | Method and Description |
|---|---|
T |
load(Mapper<T> mapper)
Applies a specific configuration loading strategy and returns a mapped bean containing
the retrieved data, throwing an exception if the operation fails.
|
equals, hashCode, load, toStringpublic StringSource(String source)
source - the string to be loaded.Copyright © 2022. All rights reserved.