Class TapAttachment

java.lang.Object
org.tap4j.plugin.model.TapAttachment

public class TapAttachment extends Object
Since:
0.1
  • Constructor Details

    • TapAttachment

      public TapAttachment(String fileName, byte[] content, int size, String fileType)
      Parameters:
      fileName - TAP file name
      content - byte content
      size - attachment size
      fileType - file mime type
    • TapAttachment

      public TapAttachment(byte[] content, Map<String,Object> diagnostics)
      Parameters:
      content - byte content
      diagnostics - TAP diagnostics
  • Method Details

    • getFileName

      public String getFileName()
      Returns:
      the fileName
    • getContent

      public byte[] getContent()
      Returns:
      the content
    • getSize

      public int getSize()
      Returns:
      the size
    • getFileType

      public String getFileType()
      Returns:
      the fileType