Package br.com.behaviortest.util.record
Class ScreenRecorder
java.lang.Object
br.com.behaviortest.util.record.ScreenRecorder
- All Implemented Interfaces:
java.lang.Runnable
public class ScreenRecorder
extends java.lang.Object
implements java.lang.Runnable
-
Constructor Summary
Constructors Constructor Description ScreenRecorder(java.lang.String outputFile)ScreenRecorder(java.lang.String outputFile, java.lang.Integer screen, double frameRate, Quality quality) -
Method Summary
Modifier and Type Method Description static java.awt.image.BufferedImageconvertToType(java.awt.image.BufferedImage sourceImage, int targetType)voidrun()voidstartCapture()voidstopCapture()
-
Constructor Details
-
ScreenRecorder
public ScreenRecorder(java.lang.String outputFile) throws java.awt.AWTException -
ScreenRecorder
public ScreenRecorder(java.lang.String outputFile, java.lang.Integer screen, double frameRate, Quality quality) throws java.awt.AWTException
-
-
Method Details
-
startCapture
public void startCapture() -
stopCapture
public void stopCapture() -
run
public void run() -
convertToType
public static java.awt.image.BufferedImage convertToType(java.awt.image.BufferedImage sourceImage, int targetType)
-