org.apache.taglibs.standard.Version.getProduct()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(5.1k)|赞(0)|评价(0)|浏览(97)

本文整理了Java中org.apache.taglibs.standard.Version.getProduct()方法的一些代码示例,展示了Version.getProduct()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getProduct()方法的具体详情如下:
包路径:org.apache.taglibs.standard.Version
类名称:Version
方法名:getProduct

Version.getProduct介绍

[英]Name of product
[中]产品名称

代码示例

代码示例来源:origin: org.jboss.spec.javax.servlet.jstl/jboss-jstl-api_1.2_spec

/**
 * Get the basic version string for the current release.
 * Version String formatted like
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 * <p>Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion() {
  return getProduct() + " " +
      getMajorVersionNum() + "." + getReleaseVersionNum() + "." +
      getMaintenanceVersionNum() +
      ((getDevelopmentVersionNum() > 0) ?
          ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.apache.taglibs/taglibs-standard-impl

/**
 * Get the basic version string for the current release.
 * Version String formatted like
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 * <p>Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion() {
  return getProduct() + " " +
      getMajorVersionNum() + "." + getReleaseVersionNum() + "." +
      getMaintenanceVersionNum() +
      ((getDevelopmentVersionNum() > 0) ?
          ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.apache.taglibs/com.springsource.org.apache.taglibs.standard

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.glassfish.web/jstl-impl

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.glassfish.web/javax.servlet.jsp.jstl

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: javax.servlet/com.springsource.javax.servlet.jsp.jstl

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.eclipse.jetty.orbit/org.apache.taglibs.standard.glassfish

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

代码示例来源:origin: org.bluestemsoftware.open.maven.tparty/jsp-api-2.1

/**
 * Get the basic version string for the current release.
 * Version String formatted like 
 * <CODE>"<B>standard-taglib</B> v.r[.dd| <B>D</B>nn]"</CODE>.
 *
 * Futurework: have this read version info from jar manifest.
 *
 * @return String denoting our current version
 */
public static String getVersion()
{
 return getProduct() + " " +
     getMajorVersionNum() + "." + getReleaseVersionNum()+ "." +
     getMaintenanceVersionNum() +
     ((getDevelopmentVersionNum() > 0) ? 
       ("_D" + getDevelopmentVersionNum()) : "");
}

相关文章