com.groupdocs.metadata.core

Interfaces

Classes

Exceptions

com.groupdocs.metadata.core

Class XmpTime

    • Constructor Detail

      • XmpTime

        public XmpTime()

        Initializes a new instance of the XmpTime class.

      • XmpTime

        public XmpTime(XmpRational scale,
               int value)

        Initializes a new instance of the XmpTime class.

        Parameters:
        scale - The scale.
        value - The value.
    • Method Detail

      • getScale

        public final XmpRational getScale()

        Gets the scale for the time value.

        Returns:
        The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. <br></br> For PAL, use 1/25.
      • setScale

        public final void setScale(XmpRational value)

        Sets the scale for the time value.

        Parameters:
        value - The scale for the time value. For NTSC, use 1001/30000, or the less accurate 100/2997. <br></br> For PAL, use 1/25.
      • getValue

        public final Integer getValue()

        Gets the time value in the specified scale.

        Returns:
        The time value in the specified scale.
      • setValue

        public final void setValue(Integer value)

        Sets the time value in the specified scale.

        Parameters:
        value - The time value in the specified scale.