public interface NewsItemEnclosure
NewsItemEnclosure is the Interface for a Sakai News message enclsoure.
The news message enclsure has header fields (type, size) and a url of the actual enclosed file. All fields are read only.
| Modifier and Type | Method and Description |
|---|---|
long |
getLength()
Access the length in Bytes of the enclosed item.
|
String |
getType()
Access the type of the enclosure.
|
String |
getUrl()
Access the Url of the enclosed item.
|
void |
setLength(long length)
Set the length in Bytes of the enclosed item.
|
void |
setType(String type)
Set the type of the enclosure.
|
void |
setUrl(String url)
Set the url of the enclosure.
|
String getUrl()
String getType()
long getLength()
void setUrl(String url)
url - The url of the enclosure.void setType(String type)
type - The type of the enclosure.void setLength(long length)
length - The length in Bytes of the enclosed item.Copyright © 2003-2016 The Sakai Foundation. All Rights Reserved.