Package io.micronaut.rss.itunespodcast
Class ItunesPodcastEpisode
java.lang.Object
io.micronaut.rss.RssItem
io.micronaut.rss.itunespodcast.ItunesPodcastEpisode
Extends the RSS item with iTunes podcast episode properties.
- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItunesPodcastEpisode.Builder
@Nullable String
getImage()
boolean
void
setContentEncoded
(String contentEncoded) Sets episode contentEncoded.void
setDuration
(String duration) Sets episode duration.void
setEpisode
(Integer episode) Sets episode episode number.void
setEpisodeType
(ItunesPodcastEpisodeType episodeType) Sets the episode type.void
setExplicit
(boolean explicit) void
Sets episode's image.void
Sets episode season number.void
setSubtitle
(String subtitle) Sets episode subtitle.void
setSummary
(@Nullable String summary) Sets episode summary.Methods inherited from class io.micronaut.rss.RssItem
builder, getAuthor, getCategory, getComments, getDescription, getEnclosure, getGuid, getLink, getPubDate, getSource, getTitle, setAuthor, setCategory, setComments, setDescription, setEnclosure, setGuid, setLink, setPubDate, setSource, setTitle
-
Constructor Details
-
ItunesPodcastEpisode
public ItunesPodcastEpisode()
-
-
Method Details
-
getImage
- Returns:
- Get Podcast episode image
-
setEpisodeType
Sets the episode type.- Parameters:
episodeType
- Episode's type
-
getSubtitle
- Returns:
- Episode's subtitle.
-
getSummary
- Returns:
- Episode's summary.
-
setSubtitle
Sets episode subtitle.- Parameters:
subtitle
- Episode's subtitle.
-
getEpisodeType
- Returns:
- Episode's type.
-
getContentEncoded
- Returns:
- Episode's content encoded.
-
setSummary
Sets episode summary.- Parameters:
summary
- Episode's summary.
-
setContentEncoded
Sets episode contentEncoded.- Parameters:
contentEncoded
- Episode's contentEncoded.
-
setDuration
Sets episode duration.- Parameters:
duration
- Episode's duration.
-
getDuration
- Returns:
- Episode's duration.
-
isExplicit
public boolean isExplicit()- Returns:
- whether an episode is explicit.
-
setExplicit
public void setExplicit(boolean explicit) - Parameters:
explicit
- whether an episode is explicit.
-
setEpisode
Sets episode episode number.- Parameters:
episode
- Episode's episode number.
-
getEpisode
- Returns:
- Episode's number.
-
setSeason
Sets episode season number.- Parameters:
season
- Episode's episode season number.
-
getSeason
- Returns:
- Episode's season number.
-
setImage
Sets episode's image.- Parameters:
image
- episode's image
-
builder
- Parameters:
title
- Episode's title- Returns:
- A Builder to build a
ItunesPodcastEpisode
.
-