@ProviderType public interface RepositoryContent
An accessor for the content of a resource. All
Resourceobjects which represent resources in a
Repositorymust implement this interface. A user of the resource can then cast the
Resourceobject to this type and then obtain an
InputStreamto the content of the resource.
Method SummaryModifier and TypeMethodDescriptionReturns a new input stream to the content of this resource.
getContentInputStream getContent()Returns a new input stream to the content of this resource. The content is represented on the resource through the
osgi.contentcapability. If more than one such capability is associated with the resource, the first such capability is returned.
- A new input stream for associated content.