Package org.tap4j.plugin.model
Class TapAttachment
java.lang.Object
org.tap4j.plugin.model.TapAttachment
- Since:
- 0.1
-
Constructor Summary
ConstructorDescriptionTapAttachment
(byte[] content, Map<String, Object> diagnostics) TapAttachment
(String fileName, byte[] content, int size, String fileType) -
Method Summary
-
Constructor Details
-
TapAttachment
- Parameters:
fileName
- TAP file namecontent
- byte contentsize
- attachment sizefileType
- file mime type
-
TapAttachment
- Parameters:
content
- byte contentdiagnostics
- TAP diagnostics
-
-
Method Details
-
getFileName
- Returns:
- the fileName
-
getContent
public byte[] getContent()- Returns:
- the content
-
getSize
public int getSize()- Returns:
- the size
-
getFileType
- Returns:
- the fileType
-