public class ScreenshotModule extends AbstractEnvironmentModule
Modifier and Type | Class and Description |
---|---|
class |
ScreenshotModule.ScreenShot |
config, moduleName, version
Constructor and Description |
---|
ScreenshotModule() |
Modifier and Type | Method and Description |
---|---|
ExtractionResult |
extractInformation() |
java.lang.String |
getModuleDescription() |
static byte[] |
screenShot(java.lang.String format,
java.awt.GraphicsDevice screen)
Stores a screenshot of the selected component to the binary array.
|
void |
setModuleName()
By implementing this abstract method the name of the module is specified.
|
void |
setVersion() |
getConfig, getHash, isSelected, setConfig, setSelected, supportsThisOS, toString
public static byte[] screenShot(java.lang.String format, java.awt.GraphicsDevice screen)
format
- screen
- public void setModuleName()
AbstractModule
setModuleName
in class AbstractModule
public ExtractionResult extractInformation()
extractInformation
in class AbstractEnvironmentModule
public void setVersion()
setVersion
in class AbstractModule
public java.lang.String getModuleDescription()
getModuleDescription
in class AbstractModule