public interface IEndpointDescriptionReader
| Modifier and Type | Method and Description |
|---|---|
EndpointDescription[] |
readEndpointDescriptions(InputStream ins)
Read endpoint descriptions from the given input stream.
|
EndpointDescription[] readEndpointDescriptions(InputStream ins) throws 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.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.Copyright © 2004–2020 Eclipse Foundation. All rights reserved.