protected void writeMedia(List<PropertyEntry> propertyEntries) throws IOException {

        for (PropertyEntry propertyEntry : propertyEntries) {
            if (propertyEntry instanceof VideoEntry) {
                VideoEntry videoEntry = (VideoEntry) propertyEntry;
                writeVideo(videoEntry);
            } else {
                if (propertyEntry instanceof ScreenshotEntry) {
                    ScreenshotEntry screenshotEntry = (ScreenshotEntry) propertyEntry;
                    writeScreenshot(screenshotEntry);
                }
            }
        }

    }
protected void writeMedia ( List < PropertyEntry > propertyEntries ) throws IOException { for ( PropertyEntry propertyEntry : propertyEntries ) { if ( propertyEntry instanceof VideoEntry ) { VideoEntry videoEntry = ( VideoEntry ) propertyEntry ; writeVideo ( videoEntry ) ; } else { if ( propertyEntry instanceof ScreenshotEntry ) { ScreenshotEntry screenshotEntry = ( ScreenshotEntry ) propertyEntry ; writeScreenshot ( screenshotEntry ) ; } } } }
Method that is called to write media (screenshots and videos) to AsciiDoc document. Case of not override it, this method
calls next methods (writeVideo for videos and writeScreenshot for screenshots).

@param propertyEntries list.
@throws IOException