Java Doc for VersionInfo.java in  » Internationalization-Localization » icu4j » com » ibm » icu » util » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Internationalization Localization » icu4j » com.ibm.icu.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.icu.util.VersionInfo

VersionInfo
final public class VersionInfo (Code)
Class to store version numbers of the form major.minor.milli.micro.
author:
   synwee


Field Summary
final public static  StringICU_DATA_VERSION
    
final public static  VersionInfoICU_VERSION
    
final public static  VersionInfoUCOL_BUILDER_VERSION
    
final public static  VersionInfoUCOL_RUNTIME_VERSION
    
final public static  VersionInfoUCOL_TAILORINGS_VERSION
    
final public static  VersionInfoUNICODE_1_0
    
final public static  VersionInfoUNICODE_1_0_1
    
final public static  VersionInfoUNICODE_1_1_0
    
final public static  VersionInfoUNICODE_1_1_5
    
final public static  VersionInfoUNICODE_2_0
    
final public static  VersionInfoUNICODE_2_1_2
    
final public static  VersionInfoUNICODE_2_1_5
    
final public static  VersionInfoUNICODE_2_1_8
    
final public static  VersionInfoUNICODE_2_1_9
    
final public static  VersionInfoUNICODE_3_0
    
final public static  VersionInfoUNICODE_3_0_1
    
final public static  VersionInfoUNICODE_3_1_0
    
final public static  VersionInfoUNICODE_3_1_1
    
final public static  VersionInfoUNICODE_3_2
    
final public static  VersionInfoUNICODE_4_0
    
final public static  VersionInfoUNICODE_4_0_1
    
final public static  VersionInfoUNICODE_4_1
    
final public static  VersionInfoUNICODE_5_0
    


Method Summary
public  intcompareTo(VersionInfo other)
     Compares other with this VersionInfo.
public  booleanequals(Object other)
    
public static  VersionInfogetInstance(String version)
     Returns an instance of VersionInfo with the argument version.
Parameters:
  version - version String in the format of "major.minor.milli.micro"or "major.minor.milli" or "major.minor" or "major",where major, minor, milli, micro are non-negative numbers<= 255.
public static  VersionInfogetInstance(int major, int minor, int milli, int micro)
     Returns an instance of VersionInfo with the argument version.
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255.
Parameters:
  milli - milli version, non-negative number <= 255.
Parameters:
  micro - micro version, non-negative number <= 255.
public static  VersionInfogetInstance(int major, int minor, int milli)
     Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, minor, milli, 0).
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255.
Parameters:
  milli - milli version, non-negative number <= 255.
public static  VersionInfogetInstance(int major, int minor)
     Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, minor, 0, 0).
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255.
public static  VersionInfogetInstance(int major)
     Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, 0, 0, 0).
Parameters:
  major - major version, non-negative number <= 255.
public  intgetMajor()
    
public  intgetMicro()
    
public  intgetMilli()
    
public  intgetMinor()
    
public static  VersionInfojavaVersion()
    
public  StringtoString()
    

Field Detail
ICU_DATA_VERSION
final public static String ICU_DATA_VERSION(Code)
Data version string for ICU's internal data



ICU_VERSION
final public static VersionInfo ICU_VERSION(Code)
ICU4J current release version



UCOL_BUILDER_VERSION
final public static VersionInfo UCOL_BUILDER_VERSION(Code)
ICU4J collator builder version



UCOL_RUNTIME_VERSION
final public static VersionInfo UCOL_RUNTIME_VERSION(Code)
ICU4J collator runtime version



UCOL_TAILORINGS_VERSION
final public static VersionInfo UCOL_TAILORINGS_VERSION(Code)
ICU4J collator tailorings version



UNICODE_1_0
final public static VersionInfo UNICODE_1_0(Code)
Unicode 1.0 version



UNICODE_1_0_1
final public static VersionInfo UNICODE_1_0_1(Code)
Unicode 1.0.1 version



UNICODE_1_1_0
final public static VersionInfo UNICODE_1_1_0(Code)
Unicode 1.1.0 version



UNICODE_1_1_5
final public static VersionInfo UNICODE_1_1_5(Code)
Unicode 1.1.5 version



UNICODE_2_0
final public static VersionInfo UNICODE_2_0(Code)
Unicode 2.0 version



UNICODE_2_1_2
final public static VersionInfo UNICODE_2_1_2(Code)
Unicode 2.1.2 version



UNICODE_2_1_5
final public static VersionInfo UNICODE_2_1_5(Code)
Unicode 2.1.5 version



UNICODE_2_1_8
final public static VersionInfo UNICODE_2_1_8(Code)
Unicode 2.1.8 version



UNICODE_2_1_9
final public static VersionInfo UNICODE_2_1_9(Code)
Unicode 2.1.9 version



UNICODE_3_0
final public static VersionInfo UNICODE_3_0(Code)
Unicode 3.0 version



UNICODE_3_0_1
final public static VersionInfo UNICODE_3_0_1(Code)
Unicode 3.0.1 version



UNICODE_3_1_0
final public static VersionInfo UNICODE_3_1_0(Code)
Unicode 3.1.0 version



UNICODE_3_1_1
final public static VersionInfo UNICODE_3_1_1(Code)
Unicode 3.1.1 version



UNICODE_3_2
final public static VersionInfo UNICODE_3_2(Code)
Unicode 3.2 version



UNICODE_4_0
final public static VersionInfo UNICODE_4_0(Code)
Unicode 4.0 version



UNICODE_4_0_1
final public static VersionInfo UNICODE_4_0_1(Code)
Unicode 4.0.1 version



UNICODE_4_1
final public static VersionInfo UNICODE_4_1(Code)
Unicode 4.1 version



UNICODE_5_0
final public static VersionInfo UNICODE_5_0(Code)
Unicode 5.0 version





Method Detail
compareTo
public int compareTo(VersionInfo other)(Code)
Compares other with this VersionInfo.
Parameters:
  other - VersionInfo to be compared 0 if the argument is a VersionInfo object that has versioninformation equals to this object.Less than 0 if the argument is a VersionInfo object that hasversion information greater than this object.Greater than 0 if the argument is a VersionInfo object thathas version information less than this object.



equals
public boolean equals(Object other)(Code)
Checks if this version information is equals to the argument version
Parameters:
  other - object to be compared true if other is equals to this object's version information,false otherwise



getInstance
public static VersionInfo getInstance(String version)(Code)
Returns an instance of VersionInfo with the argument version.
Parameters:
  version - version String in the format of "major.minor.milli.micro"or "major.minor.milli" or "major.minor" or "major",where major, minor, milli, micro are non-negative numbers<= 255. If the trailing version numbers arenot specified they are taken as 0s. E.g. Version "3.1" isequivalent to "3.1.0.0". an instance of VersionInfo with the argument version. throws an IllegalArgumentException when the argument versionis not in the right format



getInstance
public static VersionInfo getInstance(int major, int minor, int milli, int micro)(Code)
Returns an instance of VersionInfo with the argument version.
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255.
Parameters:
  milli - milli version, non-negative number <= 255.
Parameters:
  micro - micro version, non-negative number <= 255. throws an IllegalArgumentException when either arguments arenegative or > 255



getInstance
public static VersionInfo getInstance(int major, int minor, int milli)(Code)
Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, minor, milli, 0).
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255.
Parameters:
  milli - milli version, non-negative number <= 255. throws an IllegalArgumentException when either arguments arenegative or > 255



getInstance
public static VersionInfo getInstance(int major, int minor)(Code)
Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, minor, 0, 0).
Parameters:
  major - major version, non-negative number <= 255.
Parameters:
  minor - minor version, non-negative number <= 255. throws an IllegalArgumentException when either arguments arenegative or > 255



getInstance
public static VersionInfo getInstance(int major)(Code)
Returns an instance of VersionInfo with the argument version. Equivalent to getInstance(major, 0, 0, 0).
Parameters:
  major - major version, non-negative number <= 255. throws an IllegalArgumentException when either arguments arenegative or > 255



getMajor
public int getMajor()(Code)
Returns the major version number the major version number



getMicro
public int getMicro()(Code)
Returns the micro version number the micro version number



getMilli
public int getMilli()(Code)
Returns the milli version number the milli version number



getMinor
public int getMinor()(Code)
Returns the minor version number the minor version number



javaVersion
public static VersionInfo javaVersion()(Code)



toString
public String toString()(Code)
Returns the String representative of VersionInfo in the format of "major.minor.milli.micro" String representative of VersionInfo



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.