本文整理了Java中org.apache.taglibs.standard.Version.getMajorVersionNum()
方法的一些代码示例,展示了Version.getMajorVersionNum()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version.getMajorVersionNum()
方法的具体详情如下:
包路径:org.apache.taglibs.standard.Version
类名称:Version
方法名:getMajorVersionNum
[英]Major version number. Version number. This changes only when there is a significant, externally apparent enhancement from the previous release. 'n' represents the n'th version. Clients should carefully consider the implications of new versions as external interfaces and behaviour may have changed.
[中]主要版本号。版本号。只有在与上一版本相比有明显的外部增强时,这种情况才会发生变化。”n'代表第n个版本。客户应该仔细考虑新版本作为外部接口的影响,行为可能已经改变。
代码示例来源: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()) : "");
}
内容来源于网络,如有侵权,请联系作者删除!