public final class XmpTimecode extends XmpComplexType
Represents a timecode value in a video.
Constructor and Description |
---|
XmpTimecode()
Initializes a new instance of the
XmpTimecode class. |
XmpTimecode(XmpTimeFormat format,
String timeValue)
Initializes a new instance of the
XmpTimecode class. |
Modifier and Type | Method and Description |
---|---|
String |
getTimeFormat()
Gets the format used in the time value.
|
String |
getTimeValue()
Gets the time value in the specified format.
|
void |
setTimeFormat(String value)
Sets the format used in the time value.
|
void |
setTimeFormat(XmpTimeFormat timeFormat)
Sets the time format.
|
void |
setTimeValue(String value)
Sets the time value in the specified format.
|
getNamespaceUri, getNamespaceUris, getPrefixes, getXmpRepresentation, toString
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public XmpTimecode()
Initializes a new instance of the XmpTimecode
class.
public XmpTimecode(XmpTimeFormat format, String timeValue)
Initializes a new instance of the XmpTimecode
class.
format
- Time format.timeValue
- Time value.public final String getTimeFormat()
Gets the format used in the time value.
public final void setTimeFormat(String value)
Sets the format used in the time value.
value
- The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode,
30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode.public final String getTimeValue()
Gets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff
public final void setTimeValue(String value)
Sets the time value in the specified format. Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon. The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ff
value
- The time value in the specified format.
Time values use a colon delimiter in all formats except 2997drop and 5994drop, which uses a semicolon.
The four fields indicate hours, minutes, seconds, and frames: hh:mm:ss:ffpublic final void setTimeFormat(XmpTimeFormat timeFormat)
Sets the time format.
timeFormat
- The time format.