com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class XmpTimecode

    • Constructor Detail

      • XmpTimecode

        public XmpTimecode()

        Initializes a new instance of the XmpTimecode class.

      • XmpTimecode

        public XmpTimecode(XmpTimeFormat format,
                   String timeValue)

        Initializes a new instance of the XmpTimecode class.

        Parameters:
        format - Time format.
        timeValue - Time value.
    • Method Detail

      • getTimeFormat

        public final String getTimeFormat()

        Gets the format used in the time value.

        Returns:
        The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode.
      • setTimeFormat

        public final void setTimeFormat(String value)

        Sets the format used in the time value.

        Parameters:
        value - The format used in the timeValue. One of: 24Timecode, 25Timecode, 2997DropTimecode (semicolon delimiter), 2997NonDropTimecode, 30Timecode, 50Timecode, 5994DropTimecode (semicolon delimiter), 5994NonDropTimecode, 60Timecode, 23976Timecode.
      • getTimeValue

        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

        Returns:
        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
      • setTimeValue

        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

        Parameters:
        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:ff
      • setTimeFormat

        public final void setTimeFormat(XmpTimeFormat timeFormat)

        Sets the time format.

        Parameters:
        timeFormat - The time format.