public class UrlModelSource extends Object implements ModelSource
URL as a model source.| Constructor and Description |
|---|
UrlModelSource(URL pomUrl)
Creates a new model source backed by the specified URL.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public UrlModelSource(URL pomUrl)
pomUrl - The POM file, must not be null.public InputStream getInputStream() throws IOException
ModelSourcegetInputStream in interface ModelSourcenull.IOExceptionpublic String getLocation()
ModelSourcegetLocation in interface ModelSourcenull.public URL getPomUrl()
null.Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.