Package com.intuit.karate.core
Class Embed
- java.lang.Object
-
- com.intuit.karate.core.Embed
-
public class Embed extends Object
- Author:
- pthomas3
-
-
Constructor Summary
Constructors Constructor Description Embed(File file, ResourceType resourceType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmbedfromKarateJson(Map<String,Object> map)StringgetAsHtmlData()StringgetAsHtmlForReport()StringgetAsHtmlTag()StringgetAsString()StringgetBase64()byte[]getBytes()FilegetFile()ResourceTypegetResourceType()Map<String,Object>toKarateJson()MaptoMap()StringtoString()
-
-
-
Constructor Detail
-
Embed
public Embed(File file, ResourceType resourceType)
-
-
Method Detail
-
getAsHtmlForReport
public String getAsHtmlForReport()
-
getFile
public File getFile()
-
getResourceType
public ResourceType getResourceType()
-
getBytes
public byte[] getBytes()
-
getBase64
public String getBase64()
-
getAsString
public String getAsString()
-
getAsHtmlData
public String getAsHtmlData()
-
getAsHtmlTag
public String getAsHtmlTag()
-
toMap
public Map toMap()
-
-