@ProviderType public interface RepositoryContent
Resource
objects which represent resources in a
Repository
must implement this interface. A user of the resource can
then cast the Resource
object to this type and then obtain an
InputStream
to the content of the resource.Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent()
Returns a new input stream to the content of this resource.
|
java.io.InputStream getContent()
osgi.content
capability. If more than one such capability is associated with the
resource, the first such capability is returned.Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0