Class StringSettingsSource
java.lang.Object
org.apache.maven.building.StringSource
org.apache.maven.settings.building.StringSettingsSource
- All Implemented Interfaces:
- Source,- SettingsSource
Deprecated.
Wraps an ordinary 
CharSequence as a settings source.- 
Constructor SummaryConstructorsConstructorDescriptionStringSettingsSource(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.
- 
Method SummaryMethods inherited from class org.apache.maven.building.StringSourceequals, getContent, getInputStream, getLocation, hashCode, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.maven.building.SourcegetInputStream, getLocation
- 
Constructor Details- 
StringSettingsSourceDeprecated.Creates a new settings source backed by the specified string.- Parameters:
- settings- The settings' string representation, may be empty or- null.
 
- 
StringSettingsSourceDeprecated.Creates a new settings source backed by the specified string.- Parameters:
- settings- The settings' string representation, may be empty or- null.
- location- The location to report for this use, may be- null.
 
 
- 
- 
Method Details- 
getSettingsDeprecated.instead useStringSource.getContent()Gets the character sequence of this settings source.- Returns:
- The underlying character stream, never null.
 
 
- 
StringSource