org.sakaiproject.service.legacy.content
Interface ContentResourceEdit
- All Superinterfaces:
- ContentResource, Edit, Entity
- All Known Implementing Classes:
- BaseContentService.BaseResourceEdit
- public interface ContentResourceEdit
- extends ContentResource, Edit
ContentResource is an editable ContentResource.
- Version:
- $Revision: 2371 $
- Author:
- University of Michigan, CHEF Software Development Team
- See Also:
org.chefproject.service.generic.GenericContentHostingService
,
org.chefproject.core.Entity
Fields inherited from interface org.sakaiproject.service.legacy.entity.Entity |
SEPARATOR |
setContentLength
public void setContentLength(int length)
- Set the content byte length.
- Parameters:
length
- The content byte length.
setContentType
public void setContentType(String type)
- Set the resource MIME type.
- Parameters:
type
- The resource MIME type.
setContent
public void setContent(byte[] content)
- Set the resource content.
- Parameters:
content
- An array containing the bytes of the resource's content.