Package org.sonar.updatecenter.common

Examples of org.sonar.updatecenter.common.UpdateCenterDeserializer


    try {
      String content = uriReader.readString(uri, Charsets.UTF_8);
      java.util.Properties properties = new java.util.Properties();
      input = IOUtils.toInputStream(content, Charsets.UTF_8.name());
      properties.load(input);
      return new UpdateCenterDeserializer(Mode.PROD, true).fromProperties(properties);

    } catch (Exception e) {
      LoggerFactory.getLogger(getClass()).error("Fail to connect to update center", e);
      return null;
View Full Code Here

TOP

Related Classes of org.sonar.updatecenter.common.UpdateCenterDeserializer

Copyright © 2018 www.massapicom. 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.