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.BufferedImage convertToType​(java.awt.image.BufferedImage sourceImage, int targetType)
    void run()
    void startCapture()
    void stopCapture()

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)