Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * Copyright (c) OSGi Alliance (2012, 2013). All Rights Reserved.
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * See the License for the specific language governing permissions and
 * limitations under the License.
package org.osgi.service.repository;
An accessor for the default content of a resource. All org.osgi.resource.Resource objects which represent resources in a Repository must implement this interface. A user of the resource can then cast the org.osgi.resource.Resource object to this type and then obtain an InputStream to the default content of the resource.

$Id: 1a2e5af4f60929137fbc0b1806103f4b5c17f8b7 $
public interface RepositoryContent {

Returns a new input stream to the default format of this resource.

A new input stream for associated resource.
New to GrepCode? Check out our FAQ X