StringSource
@Deprecated public class StringSettingsSource extends StringSource implements SettingsSource
CharSequence
as a settings source.Constructor and Description |
---|
StringSettingsSource(java.lang.CharSequence settings)
Deprecated.
Creates a new settings source backed by the specified string.
|
StringSettingsSource(java.lang.CharSequence settings,
java.lang.String location)
Deprecated.
Creates a new settings source backed by the specified string.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSettings()
Deprecated.
instead use
StringSource.getContent() |
getContent, getInputStream, getLocation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputStream, getLocation
public StringSettingsSource(java.lang.CharSequence settings)
settings
- The settings' string representation, may be empty or null
.public StringSettingsSource(java.lang.CharSequence settings, java.lang.String location)
settings
- The settings' string representation, may be empty or null
.location
- The location to report for this use, may be null
.@Deprecated public java.lang.String getSettings()
StringSource.getContent()
null
.