com.blackledge.david.tivo.hmoclient
Class AudioItem
java.lang.Object
com.blackledge.david.tivo.hmoclient.Item
com.blackledge.david.tivo.hmoclient.AudioItem
public class AudioItem
- extends Item
<ArtistName>{text}</ArtistName>
<AlbumTitle>{text}</AlbumTitle>
<SongTitle>{text}</SongTitle>
<AlbumYear>{date}</AlbumYear>
<MusicGenre>{text}</MusicGenre>
<SourceBitRate>{bits-per-second}</SourceBitRate>
<SourceSampleRate>{samples-per-second}</SourceSampleRate>
<Duration>{msecs}</Duration>
<RecordLabel>{text}</RecordLabel>
- Version:
- $Revision: 1.3 $
Methods inherited from class com.blackledge.david.tivo.hmoclient.Item |
getAllDetails, getChildElementsByTagName, getChildTagMap, getContentType, getContentURL, getCopyright, getCreated, getCreationDate, getCustomIcon, getDate, getLastAccessDate, getLastAccessed, getLastChanged, getLastChangeDate, getLinks, getLong, getNodeValue, getSingleChildElementByTagName, getSourceFormat, getSourceLocation, getSourceSize, getTitle, isContainer, newContainerRequest, newContainerRequest, singleNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AudioItem
public AudioItem(ContainerRequest request,
Element node)
AudioItem
public AudioItem(ContainerRequest request)
initDetails
protected void initDetails(Element description)
- Description copied from class:
Item
- Basic Item details:
<Title>{text}</Title>
<ContentType>{mime-type}</ContentType>
<SourceFormat>{mime-type}</SourceFormat>
Optional details:
<CreationDate>{date}</CreationDate>
<LastChangeDate>{date}</LastChangeDate>
<LastAccessDate>{date}</LastAccessDate>
<SourceLocation>{text}</SourceLocation>
<SourceSize>{bytes}</SourceSize>
<Copyright>{text}</Copyright>
- Overrides:
initDetails
in class Item
getDuration
public long getDuration()
getSourceBitRate
public long getSourceBitRate()
getSourceSampleRate
public long getSourceSampleRate()
getAlbumTitle
public String getAlbumTitle()
getAlbumYear
public String getAlbumYear()
getArtistName
public String getArtistName()
getMusicGenre
public String getMusicGenre()
getRecordLabel
public String getRecordLabel()
getSongTitle
public String getSongTitle()