com.google.gdata.data.youtube
Class YtFormatInfo

java.lang.Object
  extended by com.google.gdata.data.AbstractExtension
      extended by com.google.gdata.data.youtube.YtFormatInfo
All Implemented Interfaces:
Extension

public class YtFormatInfo
extends AbstractExtension

Object representation for the yt:rating tag.


Constructor Summary
YtFormatInfo()
          Creates an empty tag.
YtFormatInfo(java.lang.String format, java.lang.String frameRate, java.lang.String timeOffset, boolean dropFrame)
          Creates a rating tag with the given attributes.
 
Method Summary
 boolean getDropFrame()
           
 java.lang.String getFormat()
           
 java.lang.String getFrameRate()
           
 java.lang.String getTimeOffset()
           
 void setDropFrame(boolean dropFrame)
           
 void setFormat(java.lang.String format)
           
 void setFrameRate(java.lang.String frameRate)
           
 void setTimeOffset(java.lang.String timeOffset)
           
 
Methods inherited from class com.google.gdata.data.AbstractExtension
disableStrictValidation, enableStrictValidation, generate, getExtensionLocalName, getExtensionNamespace, getHandler, isImmutable, isStrictValidation, setImmutable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

YtFormatInfo

public YtFormatInfo()
Creates an empty tag.


YtFormatInfo

public YtFormatInfo(java.lang.String format,
                    java.lang.String frameRate,
                    java.lang.String timeOffset,
                    boolean dropFrame)
Creates a rating tag with the given attributes.

Parameters:
format - caption file format name
frameRate - frame rate of the video
timeOffset - time offset to be applied to timestamps
dropFrame - does the format use the dropFrame technique
Method Detail

getFormat

public java.lang.String getFormat()
Returns:
the format

setFormat

public void setFormat(java.lang.String format)
Parameters:
format - the caption file format to set

getFrameRate

public java.lang.String getFrameRate()
Returns:
the frame rate

setFrameRate

public void setFrameRate(java.lang.String frameRate)
Parameters:
frameRate - the frame rate to set

getTimeOffset

public java.lang.String getTimeOffset()
Returns:
the time offset

setTimeOffset

public void setTimeOffset(java.lang.String timeOffset)
Parameters:
timeOffset - the time offset to set

getDropFrame

public boolean getDropFrame()
Returns:
whether dropFrame is used

setDropFrame

public void setDropFrame(boolean dropFrame)
Parameters:
set - whether dropFrame is used