public interface ScreenshotTaker
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileExtension()
Returns the filename extension that should be used for images taken by this object.
|
java.awt.Dimension |
writeScreenshotTo(java.io.OutputStream outputStream)
Take a shot and write to the given output stream.
|
java.awt.Dimension writeScreenshotTo(java.io.OutputStream outputStream)
throws java.io.IOException
java.io.IOException - if an I/O error occurs writing the screenshot to the streamScreenshotUnavailableException - if unable to take a screenshotjava.lang.String getFileExtension()