Package com.intellij.framework.library

Examples of com.intellij.framework.library.LibraryVersionProperties


          try {
            String version = new Manifest(input).getMainAttributes().getValue(Constants.BUNDLE_VERSION);
            if (version != null) {
              try {
                Version v = new Version(version);
                return new LibraryVersionProperties(v.getMajor() + "." + v.getMinor() + "." + v.getMicro());
              }
              catch (IllegalArgumentException ignored) { }
            }
          }
          finally {
            input.close();
          }
        }
        catch (IOException ignored) { }
      }
    }

    // unknown version
    return new LibraryVersionProperties(null);
  }
View Full Code Here

TOP

Related Classes of com.intellij.framework.library.LibraryVersionProperties

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.