class SeProxyService {

  public String getVersion() {
    try {
      // load keyple core property file
      InputStream propertiesIs =
          Thread.currentThread()
              .getContextClassLoader()
              .getResourceAsStream("META-INF/keyple-core.properties");
      Properties prop = new Properties();
      prop.load(propertiesIs);
      String version = prop.getProperty("version");
      if (version != null) {
        return version;
      }
      propertiesIs.close();
    } catch (IOException e) {
      logger.error("Keyple core properties file not found in META_INF");
    }

    return "no-version-found";
  }

  private  SeProxyService();

}