public interface IEndpointDescriptionReader
Modifier and Type | Method and Description |
---|---|
EndpointDescription[] |
readEndpointDescriptions(java.io.InputStream ins)
Read endpoint descriptions from the given input stream.
|
EndpointDescription[] readEndpointDescriptions(java.io.InputStream ins) throws java.io.IOException, EndpointDescriptionParseException
null
, and must provide data in the Endpoint
Description Extender Format (EDEF) specified in section 122.8 of the OSGi
Enterprise Specification.ins
- 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()
.EndpointDescriptionParseException
- if the EDE format cannot be parsed from the input stream.