public class EndpointDescriptionReader extends java.lang.Object implements IEndpointDescriptionReader
IEndpointDescriptionReader
.Constructor and Description |
---|
EndpointDescriptionReader() |
Modifier and Type | Method and Description |
---|---|
EndpointDescription[] |
readEndpointDescriptions(java.io.InputStream input)
Read endpoint descriptions from the given input stream.
|
public EndpointDescription[] readEndpointDescriptions(java.io.InputStream input) throws java.io.IOException
IEndpointDescriptionReader
null
, and must provide data in the Endpoint
Description Extender Format (EDEF) specified in section 122.8 of the OSGi
Enterprise Specification.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).EndpointDescription
instance read from the given input stream.java.io.IOException
- if the inputstream does not have valid data in the EDE
format. Note that the implementation of this method may call
InputStream.close()
.