|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.settings.building.UrlSettingsSource
public class UrlSettingsSource
Wraps an ordinary URL
as a settings source.
Constructor Summary | |
---|---|
UrlSettingsSource(java.net.URL settingsUrl)
Creates a new model source backed by the specified URL. |
Method Summary | |
---|---|
java.io.InputStream |
getInputStream()
Gets a byte stream to the settings contents. |
java.lang.String |
getLocation()
Provides a user-friendly hint about the location of the settings. |
java.net.URL |
getSettingsUrl()
Gets the settings URL of this model source. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UrlSettingsSource(java.net.URL settingsUrl)
settingsUrl
- The settings URL, must not be null
.Method Detail |
---|
public java.io.InputStream getInputStream() throws java.io.IOException
SettingsSource
getInputStream
in interface SettingsSource
null
.
java.io.IOException
public java.lang.String getLocation()
SettingsSource
getLocation
in interface SettingsSource
null
.public java.net.URL getSettingsUrl()
null
.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |