|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.model.building.StringModelSource
public class StringModelSource
Wraps an ordinary CharSequence as a model source.
| Constructor Summary | |
|---|---|
StringModelSource(java.lang.CharSequence pom)
Creates a new model source backed by the specified string. |
|
StringModelSource(java.lang.CharSequence pom,
java.lang.String location)
Creates a new model source backed by the specified string. |
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Gets a byte stream to the POM contents. |
java.lang.String |
getLocation()
Provides a user-friendly hint about the location of the POM. |
java.lang.String |
getModel()
Gets the character sequence 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 StringModelSource(java.lang.CharSequence pom)
pom - The POM's string representation, may be empty or null.
public StringModelSource(java.lang.CharSequence pom,
java.lang.String location)
pom - The POM's string representation, may be empty or null.location - The location to report for this use, may be null.| Method Detail |
|---|
public java.io.InputStream getInputStream()
throws java.io.IOException
ModelSource
getInputStream in interface ModelSourcenull.
java.io.IOExceptionpublic java.lang.String getLocation()
ModelSource
getLocation in interface ModelSourcenull.public java.lang.String getModel()
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 | |||||||||