palio.modules
Class FrameGrabber
java.lang.Object
palio.modules.core.Module
palio.modules.FrameGrabber
- All Implemented Interfaces:
- palio.modules.core.CurrentModuleDataKeys
public class FrameGrabber
- extends palio.modules.core.Module
Frame grabber module is responsible for grabbing and saving to database an video frame.
Fields inherited from interface palio.modules.core.CurrentModuleDataKeys |
DESIGNER_ACTIONS_BUFFER, HTML_FORM_BUILDER, HTML_MAP_BUILDER, HTML_MENU_BUILDER, HTML_TOOLTIPS_BUFFER, ITEXT_DOCUMENT, MAIL_MESSAGE, XLS_DOCUMENT, XML_DOCUMENT |
Constructor Summary |
FrameGrabber(palio.Instance instance,
java.util.Properties properties)
|
Method Summary |
java.lang.String |
getVersion()
Returns the module version |
void |
saveFrame(java.lang.Long materialId,
java.lang.String timeCode,
java.lang.String name,
java.lang.String desc,
int width,
int height,
java.lang.Long userId)
Grabs and saves to database an frame. |
void |
saveFrame(java.lang.Long materialId,
java.lang.String timeCode,
java.lang.String name,
java.lang.String desc,
java.lang.Long userId)
Grabs and saves to database an frame. |
Methods inherited from class palio.modules.core.Module |
getConfigParam, getDescription, getModuleTranslation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FrameGrabber
public FrameGrabber(palio.Instance instance,
java.util.Properties properties)
throws palio.PalioException
- Parameters:
instance
- Module instance.properties
- Initial module properties.
- Throws:
palio.PalioException
- Module init error.
getVersion
public java.lang.String getVersion()
- Description copied from class:
palio.modules.core.Module
- Returns the module version
- Specified by:
getVersion
in class palio.modules.core.Module
saveFrame
public void saveFrame(java.lang.Long materialId,
java.lang.String timeCode,
java.lang.String name,
java.lang.String desc,
java.lang.Long userId)
throws java.lang.Exception
- Grabs and saves to database an frame.
- Parameters:
materialId
- Material identifiertimeCode
- Time code of the framename
- Name of the framedesc
- Description of the frameuserId
- Identifier of user
- Throws:
java.lang.Exception
- Error while grabbing frame
saveFrame
public void saveFrame(java.lang.Long materialId,
java.lang.String timeCode,
java.lang.String name,
java.lang.String desc,
int width,
int height,
java.lang.Long userId)
throws java.lang.Exception
- Grabs and saves to database an frame.
- Parameters:
materialId
- Material identifiertimeCode
- Time code of the framename
- Name of the framedesc
- Description of the framewidth
- target frame widthheight
- target frame heightuserId
- Identifier of user
- Throws:
java.lang.Exception
- Error while grabbing frame