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