- java.lang.Object
-
- com.apptasticsoftware.rssreader.Enclosure
-
public class Enclosure extends java.lang.ObjectClass representing the Enclosure.
-
-
Constructor Summary
Constructors Constructor Description Enclosure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Optional<java.lang.Long>getLength()Get the length of enclosure.java.lang.StringgetType()Get the type of enclosure.java.lang.StringgetUrl()Get the url of enclosure.inthashCode()voidsetLength(java.lang.Long length)voidsetType(java.lang.String type)voidsetUrl(java.lang.String url)
-
-
-
Method Detail
-
getUrl
public java.lang.String getUrl()
Get the url of enclosure.- Returns:
- url
-
setUrl
public void setUrl(java.lang.String url)
-
getType
public java.lang.String getType()
Get the type of enclosure.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
getLength
public java.util.Optional<java.lang.Long> getLength()
Get the length of enclosure.- Returns:
- length
-
setLength
public void setLength(java.lang.Long length)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-