Class Image
java.lang.Object
com.apptasticsoftware.rssreader.Image
Class representing a image in channel.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the description.Get the height of the image.getLink()Get the URL of the site.getTitle()Get title that describes the image.getUrl()Get the URL of a GIF, JPEG or PNG image that represents the channel.getWidth()Get the width of the image.inthashCode()voidsetDescription(String description) Set the description.voidSet the height of the image.voidSet the URL of the site.voidSet title that describes the image.voidSet the URL of a GIF, JPEG or PNG image that represents the channel.voidSet the width of the image.
-
Constructor Details
-
Image
public Image()
-
-
Method Details
-
getTitle
-
setTitle
-
getLink
-
setLink
-
getUrl
Get the URL of a GIF, JPEG or PNG image that represents the channel.- Returns:
- url to image
-
setUrl
Set the URL of a GIF, JPEG or PNG image that represents the channel.- Parameters:
url- url to image
-
getDescription
-
setDescription
Set the description.- Parameters:
description- description
-
getHeight
-
setHeight
Set the height of the image.- Parameters:
height- image height
-
getWidth
-
setWidth
-
equals
-
hashCode
-