public class Enclosure extends Object
| Constructor and Description |
|---|
Enclosure() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A short descriptor, used primarily for alternative enclosures.
|
long |
getLength()
Length says how big the enclosure is in bytes.
|
String |
getType()
The standard MIME type of the enclosure..
|
String |
getUrl()
Url says where the enclosure is located.
|
void |
setDescription(String description) |
void |
setLength(long length) |
void |
setLength(String length) |
void |
setType(String type) |
void |
setUrl(String url) |
String |
toString() |
public String getUrl()
Url says where the enclosure is located.
Required for enclosure elements in RSS specification.
String or nullpublic void setUrl(String url)
public long getLength()
Length says how big the enclosure is in bytes.
Required for enclosure elements in RSS specification.
Integer or nullpublic void setLength(long length)
public void setLength(String length)
public String getType()
The standard MIME type of the enclosure..
Required for enclosure elements in RSS specification.
String or nullpublic void setType(String type)
public String getDescription()
A short descriptor, used primarily for alternative enclosures.
Not part of the RSS specification.
String or nullpublic void setDescription(String description)
Copyright © 2018. All rights reserved.