public class ScreenshotFormatter extends Object
| Modifier and Type | Method and Description |
|---|---|
Screenshot |
expandToHeight(int targetHeight) |
static ScreenshotFormatter |
forScreenshot(Screenshot screenshot) |
ScreenshotFormatter |
inDirectory(File sourceDirectory) |
ScreenshotFormatter |
keepOriginals(boolean shouldKeepOriginalScreenshots) |
public static ScreenshotFormatter forScreenshot(Screenshot screenshot)
public ScreenshotFormatter inDirectory(File sourceDirectory)
public ScreenshotFormatter keepOriginals(boolean shouldKeepOriginalScreenshots)
public Screenshot expandToHeight(int targetHeight) throws IOException
IOExceptionCopyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.