Package org.spoutcraft.launcher.rest

Examples of org.spoutcraft.launcher.rest.MD5Result


      String md5 = MD5Utils.getMD5(spoutcraft);
      InputStream stream = null;
      String url = RestAPI.getMD5URL(md5);
      try {
        stream = RestAPI.getCachingInputStream(new URL(url), true);
        MD5Result result = mapper.readValue(stream, MD5Result.class);
        return result.getBuildNumber();
      } catch (IOException e) {
        // Ignore
      } finally {
        IOUtils.closeQuietly(stream);
      }
View Full Code Here

TOP

Related Classes of org.spoutcraft.launcher.rest.MD5Result

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.