Class EndpointDescriptionReader
- java.lang.Object
- 
- org.eclipse.ecf.osgi.services.remoteserviceadmin.EndpointDescriptionReader
 
- 
- All Implemented Interfaces:
- IEndpointDescriptionReader
 
 public class EndpointDescriptionReader extends Object implements IEndpointDescriptionReader Default implementation ofIEndpointDescriptionReader.
- 
- 
Constructor SummaryConstructors Constructor Description EndpointDescriptionReader()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>mergeWithParsed(Map<String,Object> parsedProperties, Map<String,Object> mergeProperties)EndpointDescription[]readEndpointDescriptions(InputStream input)Read endpoint descriptions from the given input stream.EndpointDescription[]readEndpointDescriptions(InputStream ins, Map<String,Object> overrideProperties)Read endpoint descriptions from the given input stream.
 
- 
- 
- 
Method Detail- 
readEndpointDescriptionspublic EndpointDescription[] readEndpointDescriptions(InputStream input) throws IOException Description copied from interface:IEndpointDescriptionReaderRead endpoint descriptions from the given input stream. The ins parameter must not benull, and must provide data in the Endpoint Description Extender Format (EDEF) specified in section 122.8 of the OSGi Enterprise Specification.- Specified by:
- readEndpointDescriptionsin interface- IEndpointDescriptionReader
- Parameters:
- 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).
- Returns:
- array of
         EndpointDescriptioninstance read from the given input stream.
- Throws:
- IOException- if the inputstream does not have valid data in the EDE format. Note that the implementation of this method may call- InputStream.close().
 
 - 
readEndpointDescriptionspublic EndpointDescription[] readEndpointDescriptions(InputStream ins, Map<String,Object> overrideProperties) throws IOException Description copied from interface:IEndpointDescriptionReaderRead endpoint descriptions from the given input stream. The ins parameter must not benull, and must provide data in the Endpoint Description Extender Format (EDEF) specified in section 122.8 of the OSGi Enterprise Specification.- Specified by:
- readEndpointDescriptionsin interface- IEndpointDescriptionReader
- Parameters:
- 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).
- overrideProperties- map of property name/values that will override the same-named values from the edef. If- nullthen no overriding will be done.
- Returns:
- array of
         EndpointDescriptioninstance read from the given input stream.
- Throws:
- IOException- if the inputstream does not have valid data in the EDE format. Note that the implementation of this method may call- InputStream.close().
- Since:
- 4.7
 
 
- 
 
-