Class EndpointDescriptionReader

  extended by
All Implemented Interfaces:

public class EndpointDescriptionReader
extends java.lang.Object
implements IEndpointDescriptionReader

Default implementation of IEndpointDescriptionReader.

Constructor Summary
Method Summary
 org.osgi.service.remoteserviceadmin.EndpointDescription[] readEndpointDescriptions( input)
          Read endpoint descriptions from the given input stream.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public EndpointDescriptionReader()
Method Detail


public org.osgi.service.remoteserviceadmin.EndpointDescription[] readEndpointDescriptions( input)
Description copied from interface: IEndpointDescriptionReader
Read endpoint descriptions from the given input stream. The ins parameter must not be null, and must provide data in the Endpoint Description Extender Format (EDEF) specified in section 122.8 of the OSGi Enterprise Specification.

Specified by:
readEndpointDescriptions in interface IEndpointDescriptionReader
input - the input stream to read from. Must be non-null, and must provide data in the format specified the EDEF specification (see link above).
array of org.osgi.service.remoteserviceadmin.EndpointDescription instance read from the given input stream.
Throws: - if the inputstream does not have valid data in the EDE format. Note that the implementation of this method may call InputStream.close().