Examples of EndpointDescriptionParser


Examples of org.eclipse.ecf.internal.osgi.services.remoteserviceadmin.EndpointDescriptionParser

public class EndpointDescriptionReader implements IEndpointDescriptionReader {

  public org.osgi.service.remoteserviceadmin.EndpointDescription[] readEndpointDescriptions(
      InputStream input) throws IOException {
    // First create parser
    EndpointDescriptionParser parser = new EndpointDescriptionParser();
    // Parse input stream
    parser.parse(input);
    // Get possible endpoint descriptions
    List<EndpointDescriptionParser.EndpointDescription> parsedDescriptions = parser
        .getEndpointDescriptions();
    List<org.osgi.service.remoteserviceadmin.EndpointDescription> results = new ArrayList<org.osgi.service.remoteserviceadmin.EndpointDescription>();
    // For each one parsed, get properties and
    for (EndpointDescriptionParser.EndpointDescription ed : parsedDescriptions) {
      Map parsedProperties = ed.getProperties();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.