|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: Video
Description: An implementation of the DigitalMedia class specific to the Mindswap multimedia ontology concept Video
Copyright: Copyright (c) 2005
Company: Mindswap (http://www.mindswap.org)
| Field Summary | |
static int |
NO_DURATION
Const for when a video has no duration |
static int |
NO_FRAMES
Const for when a video has no frames |
| Method Summary | |
Video |
addFrame(VideoFrame theFrame)
Adds the specified frame to the video |
Video |
addSegment(VideoSegment theSegment)
Adds a segement to this video |
int |
hasDurationSeconds()
Returns the total duration of the video in seconds |
int |
hasTotalFrames()
Returns the total number of frames in the video |
StmtIterator |
listFrames()
Returns all the frames that are known to make up this video |
StmtIterator |
listSegments()
List all the segments of this video |
Video |
removeFrame(VideoFrame theFrame)
Removes the specified frame from the video |
Video |
removeSegment(VideoSegment theSegment)
Removes a segment from this video |
| Methods inherited from interface org.mindswap.multimedia.DigitalMedia |
addDepicts, listDepicts, removeDepicts |
| Field Detail |
public static final int NO_FRAMES
public static final int NO_DURATION
| Method Detail |
public int hasTotalFrames()
public int hasDurationSeconds()
public StmtIterator listFrames()
public Video addFrame(VideoFrame theFrame)
theFrame - VideoFrame the frame to add
public Video removeFrame(VideoFrame theFrame)
theFrame - VideoFrame the frame to remove
public StmtIterator listSegments()
public Video addSegment(VideoSegment theSegment)
theSegment - VideoSegment the new segment to add
public Video removeSegment(VideoSegment theSegment)
theSegment - VideoSegment the new segment to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||