Package com.github.mike10004.xvfbmanager
Interface Screenshooter<T extends Screenshot>
-
- Type Parameters:
T- screenshot type
- All Known Implementing Classes:
FramebufferDirScreenshooter,XwdScreenshooter
public interface Screenshooter<T extends Screenshot>Interface for a class that can capture a screenshot of a virtual framebuffer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classScreenshooter.ScreenshooterException
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tcapture()Captures a screenshot.
-
-
-
Method Detail
-
capture
T capture() throws IOException, XvfbException
Captures a screenshot.- Returns:
- the screenshot
- Throws:
IOException- if capture encounters an I/O errorXvfbException- if a virtual framebuffer error occurs
-
-