com.google.gdata.data.youtube
Class YtFormatInfo
java.lang.Object
com.google.gdata.data.AbstractExtension
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 nameframeRate
- frame rate of the videotimeOffset
- time offset to be applied to timestampsdropFrame
- does the format use the dropFrame technique
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