StringSource
@Deprecated public class StringSettingsSource extends StringSource implements SettingsSource
CharSequence
as a settings source.Constructor and Description |
---|
StringSettingsSource(CharSequence settings)
Deprecated.
Creates a new settings source backed by the specified string.
|
StringSettingsSource(CharSequence settings,
String location)
Deprecated.
Creates a new settings source backed by the specified string.
|
Modifier and Type | Method and Description |
---|---|
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(CharSequence settings)
settings
- The settings' string representation, may be empty or null
.public StringSettingsSource(CharSequence settings, 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 String getSettings()
StringSource.getContent()
null
.Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.