Package com.intellij.facet.ui.libraries

Examples of com.intellij.facet.ui.libraries.LibraryInfo


  public static LibraryInfo createJarDownloadInfo(final boolean useBrainsUrl, final String jarName, final String version,
                                                  final String... requiredClasses) {
    final String v = version == null || version.length() == 0 ? "" : "/" + version + "/";
    if (useBrainsUrl)
      return new LibraryInfo(jarName, DOWNLOADING_URL + v + jarName, DOWNLOAD_JETBRAINS_COM, null,
          requiredClasses);
    else
      return new LibraryInfo(jarName, MAVEN_DOWNLOADING_URL + v
          + jarName.substring(0, jarName.lastIndexOf('.')) + "-" + version + ".jar", DOWNLOAD_MAVEN_ORG, null,
          requiredClasses);
  }
View Full Code Here

TOP

Related Classes of com.intellij.facet.ui.libraries.LibraryInfo

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.