Package io.micronaut.rss
Class RssItemEnclosure
java.lang.Object
io.micronaut.rss.RssItemEnclosure
RSS Item enclosure.
- Since:
- 1.0
- Author:
- Sergio del Amo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A builder class to add different properties toRssItemEnclosure
. -
Constructor Summary
-
Method Summary
-
Constructor Details
-
RssItemEnclosure
public RssItemEnclosure()
-
-
Method Details
-
getUrl
- Returns:
- The URL attribute points to your podcast content.
-
setUrl
- Parameters:
url
- A URL to the podcast content.
-
getLength
- Returns:
- The length attribute is the file size in bytes.
-
setLength
- Parameters:
length
- The file size in bytes.
-
builder
- Returns:
- A RssItemEnclosure.Builder
-
getType
- Returns:
- A standard MIME type.
-
setType
- Parameters:
type
- A standard MIME type.
-