public class EndpointDescriptionReader extends Object implements IEndpointDescriptionReader
IEndpointDescriptionReader
.Constructor and Description |
---|
EndpointDescriptionReader() |
Modifier and Type | Method and Description |
---|---|
EndpointDescription[] |
readEndpointDescriptions(InputStream input)
Read endpoint descriptions from the given input stream.
|
public EndpointDescription[] readEndpointDescriptions(InputStream input) throws 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.IOException
- if the inputstream does not have valid data in the EDE
format. Note that the implementation of this method may call
InputStream.close()
.Copyright © 2004–2020 Eclipse Foundation. All rights reserved.