Class ScreenCaptureTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<Media>
com.aventstack.extentreports.append.ScreenCaptureTypeAdapter

public class ScreenCaptureTypeAdapter extends com.google.gson.TypeAdapter<Media>
  • Constructor Details

    • ScreenCaptureTypeAdapter

      public ScreenCaptureTypeAdapter()
  • Method Details

    • write

      public void write(com.google.gson.stream.JsonWriter out, Media value) throws IOException
      Specified by:
      write in class com.google.gson.TypeAdapter<Media>
      Throws:
      IOException
    • read

      public Media read(com.google.gson.stream.JsonReader reader) throws IOException
      Specified by:
      read in class com.google.gson.TypeAdapter<Media>
      Throws:
      IOException