|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.settings.building.StringSettingsSource
public class StringSettingsSource
Wraps an ordinary CharSequence
as a settings source.
Constructor Summary | |
---|---|
StringSettingsSource(CharSequence settings)
Creates a new settings source backed by the specified string. |
|
StringSettingsSource(CharSequence settings,
String location)
Creates a new settings source backed by the specified string. |
Method Summary | |
---|---|
InputStream |
getInputStream()
Gets a byte stream to the settings contents. |
String |
getLocation()
Provides a user-friendly hint about the location of the settings. |
String |
getSettings()
Gets the character sequence of this settings source. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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
.Method Detail |
---|
public InputStream getInputStream() throws IOException
SettingsSource
getInputStream
in interface SettingsSource
null
.
IOException
public String getLocation()
SettingsSource
getLocation
in interface SettingsSource
null
.public String getSettings()
null
.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |