net.thucydides.core.reports.html.screenshots
Class ScreenshotFormatter

Package class diagram package ScreenshotFormatter
java.lang.Object
  extended by net.thucydides.core.reports.html.screenshots.ScreenshotFormatter

public class ScreenshotFormatter
extends Object

Class designed to help resize and scale screenshots to a format that is compatible with the Thucydides reports.


Method Summary
 Screenshot expandToHeight(int targetHeight)
           
static ScreenshotFormatter forScreenshot(Screenshot screenshot)
           
 ScreenshotFormatter inDirectory(File sourceDirectory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

forScreenshot

public static ScreenshotFormatter forScreenshot(Screenshot screenshot)

inDirectory

public ScreenshotFormatter inDirectory(File sourceDirectory)

expandToHeight

public Screenshot expandToHeight(int targetHeight)
                          throws IOException
Throws:
IOException


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.