com.aventstack.extentreports

## Class MediaEntityBuilder

- java.lang.Object
- - com.aventstack.extentreports.MediaEntityBuilder

-     public class MediaEntityBuilder
      extends Object

  Media builder for base64 and binary screenshots

- - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `MediaEntityModelProvider` | `build()`
    `static MediaEntityBuilder` | `createScreenCaptureFromBase64String(String base64String)`
    `static MediaEntityBuilder` | `createScreenCaptureFromPath(String path)`
    `static MediaEntityBuilder` | `createScreenCaptureFromPath(String path, String title)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### build

          public MediaEntityModelProvider build()

    - #### createScreenCaptureFromPath

          public static MediaEntityBuilder createScreenCaptureFromPath(String path,
                                                                       String title)
                                                                throws IOException

      Throws:
        `IOException`

    - #### createScreenCaptureFromPath

          public static MediaEntityBuilder createScreenCaptureFromPath(String path)
                                                                throws IOException

      Throws:
        `IOException`

    - #### createScreenCaptureFromBase64String

          public static MediaEntityBuilder createScreenCaptureFromBase64String(String base64String)
                                                                        throws IOException

      Throws:
        `IOException`

Copyright © 2018. All rights reserved.