Package io.cucumber.docstring
Class DocString
java.lang.Object
io.cucumber.docstring.DocString
A doc string. For example:
"""application/json
{
"hello": "world"
}
"""
A doc string is either empty or contains some content. The content type is an optional description of the content using a media-type.
A DocString is immutable and thread safe.
-
Method Details
-
create
-
create
-
create
public static DocString create(String content, String contentType, DocString.DocStringConverter converter) -
convert
-
getContent
-
getContentType
-
hashCode
public int hashCode() -
equals
-
toString
-