Package org.osgi.service.repository
Interface RepositoryContent
- 
 @ProviderType public interface RepositoryContentAn accessor for the content of a resource. AllResourceobjects which represent resources in aRepositorymust implement this interface. A user of the resource can then cast theResourceobject to this type and then obtain anInputStreamto the content of the resource.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.InputStreamgetContent()Returns a new input stream to the content of this resource.
 
- 
- 
- 
Method Detail- 
getContentjava.io.InputStream getContent() Returns a new input stream to the content of this resource. The content is represented on the resource through theosgi.contentcapability. If more than one such capability is associated with the resource, the first such capability is returned.- Returns:
- A new input stream for associated content.
 
 
- 
 
-