本文整理了Java中org.apache.taglibs.standard.Version
类的一些代码示例,展示了Version
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Version
类的具体详情如下:
包路径:org.apache.taglibs.standard.Version
类名称:Version
[英][lifted from xalan] Administrative class to keep track of the version number of the standard tag library.
This class implements the upcoming standard of having org.apache.project-name.Version.getVersion() be a standard way to get version information.
[中][摘自xalan]管理类,用于跟踪标准标记库的版本号。
这个类实现了即将到来的拥有组织的标准。阿帕奇。项目名称。版本getVersion()是获取版本信息的标准方法。
代码示例来源: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.glassfish.web/javax.servlet.jsp.jstl
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源:origin: javax.servlet/com.springsource.javax.servlet.jsp.jstl
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源: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.glassfish.web/jstl-impl
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源: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.apache.taglibs/taglibs-standard-impl
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[]) {
System.out.println(getVersion());
}
代码示例来源: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.eclipse.jetty.orbit/org.apache.taglibs.standard.glassfish
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源: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: org.apache.taglibs/com.springsource.org.apache.taglibs.standard
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源: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.bluestemsoftware.open.maven.tparty/jsp-api-2.1
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[])
{
System.out.println(getVersion());
}
代码示例来源: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.jboss.spec.javax.servlet.jstl/jboss-jstl-api_1.2_spec
/**
* Print the processor version to the command line.
*
* @param argv command line arguments, unused.
*/
public static void main(String argv[]) {
System.out.println(getVersion());
}
代码示例来源: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()) : "");
}
内容来源于网络,如有侵权,请联系作者删除!