StringSource
@Deprecated public class StringModelSource extends StringSource implements ModelSource
CharSequence
as a model source.Constructor and Description |
---|
StringModelSource(java.lang.CharSequence pom)
Deprecated.
Creates a new model source backed by the specified string.
|
StringModelSource(java.lang.CharSequence pom,
java.lang.String location)
Deprecated.
Creates a new model source backed by the specified string.
|
getContent, getInputStream, getLocation, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getInputStream, getLocation
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
.