org.osgi.service.repository
Interface RepositoryContent
public interface RepositoryContent
An accessor for the default content of a resource.
All 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 default content of the resource.
- Author:
- $Id: 1a2e5af4f60929137fbc0b1806103f4b5c17f8b7 $
- ThreadSafe
- Consumers of this API must not implement this interface
|
Method Summary |
java.io.InputStream |
getContent()
Returns a new input stream to the default format of this resource. |
getContent
java.io.InputStream getContent()
- Returns a new input stream to the default format of this resource.
- Returns:
- A new input stream for associated resource.