Class TemporalSourceOptions

  • All Implemented Interfaces:
    java.lang.Cloneable, TransformationSourceOptions

    @Deprecated
    public class TemporalSourceOptions
    extends AbstractTransformationSourceOptions
    Deprecated.
    The transformations code is being moved out of the codebase and replaced by the new async RenditionService2 or other external libraries.
    Time-based content conversion options to specify an offset and duration. Useful for audio and video.

    If only the offset is specified transformers should attempt a transform from that offset to the end if possible.

    If only a duration is specified transformers should attempt a transform from the start until that duration is reached if possible.

    Author:
    Ray Gauss II
    • Constructor Detail

      • TemporalSourceOptions

        public TemporalSourceOptions()
        Deprecated.
    • Method Detail

      • getOffset

        public java.lang.String getOffset()
        Deprecated.
        Gets the offset time code from which to start the transformation with a format of hh:mm:ss[.xxx]
        Returns:
        the offset
      • setOffset

        public void setOffset​(java.lang.String offset)
        Deprecated.
        Sets the offset time code from which to start the transformation with a format of hh:mm:ss[.xxx]
        Parameters:
        offset - String
      • getDuration

        public java.lang.String getDuration()
        Deprecated.
        Gets the duration of the source to read with a format of hh:mm:ss[.xxx]
        Returns:
        String
      • setDuration

        public void setDuration​(java.lang.String duration)
        Deprecated.
        Sets the duration of the source to read with a format of hh:mm:ss[.xxx]
        Parameters:
        duration - String
      • validateTimeString

        public static void validateTimeString​(java.lang.String value)
        Deprecated.
        Validates that the given value is of the form hh:mm:ss[.xxx]
        Parameters:
        value - String