Package org.opencastproject.composer.api
Class VideoClip
java.lang.Object
org.opencastproject.composer.api.VideoClip
- All Implemented Interfaces:
Comparable<VideoClip>,Comparator<VideoClip>
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
VideoClip
public VideoClip(int indx, double start, double end) -
VideoClip
public VideoClip(int indx, long start, long end)
-
-
Method Details
-
setEnd
public void setEnd(double newend) -
setEnd
public void setEnd(long newend) -
getSrc
public int getSrc() -
getStart
public double getStart() -
getEnd
public double getEnd() -
getStartMS
public long getStartMS() -
getEndMS
public long getEndMS() -
getDuration
public double getDuration() -
getDurationMS
public long getDurationMS() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<VideoClip>
-
compare
- Specified by:
comparein interfaceComparator<VideoClip>
-