Java Doc for OsVersion.java in  » Installer » IzPack » com » izforge » izpack » 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 » Installer » IzPack » com.izforge.izpack.util 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.izforge.izpack.util.OsVersion

OsVersion
final public class OsVersion implements OsVersionConstants,StringConstants(Code)
This is a convienient class, which helps you to detect / identify the running OS/Distribution

Created at: Date: Nov 9, 2004 Time: 8:53:22 PM
author:
   hani, Marc.Eppelmann@reddot.de



Field Summary
final public static  booleanIS_AIX
     True if this is AIX.
final public static  booleanIS_DEBIAN_LINUX
    
final public static  booleanIS_FEDORA_LINUX
    
final public static  booleanIS_FREEBSD
     True if this is FreeBSD.
final public static  booleanIS_HPUX
     True if this is HP-UX.
final public static  booleanIS_LINUX
     True if this is Linux.
final public static  booleanIS_MAC
    
final public static  booleanIS_MANDRAKE_LINUX
    
final public static  booleanIS_MANDRIVA_LINUX
    
final public static  booleanIS_OS2
     True if this is OS/2.
final public static  booleanIS_OSX
     True if this is the Mac OS X.
final public static  booleanIS_PPC
     True if the processor is in the PowerPC family.
final public static  booleanIS_REDHAT_LINUX
    
final public static  booleanIS_SPARC
     True if the processor is in the SPARC family.
final public static  booleanIS_SUNOS
     True if this is SunOS.
final public static  booleanIS_SUNOS_SPARC
    
final public static  booleanIS_SUNOS_X86
    
final public static  booleanIS_SUSE_LINUX
    
final public static  booleanIS_UNIX
     True if this is some variant of Unix (OSX, Linux, Solaris, FreeBSD, etc).
final public static  booleanIS_WINDOWS
     True if this is Windows.
final public static  booleanIS_X86
     True if the processor is in the Intel x86 family.
final public static  StringOS_ARCH
    
final public static  StringOS_NAME
    


Method Summary
public static  StringgetOsDetails()
    
public static  voidmain(String[] args)
    

Field Detail
IS_AIX
final public static boolean IS_AIX(Code)
True if this is AIX.



IS_DEBIAN_LINUX
final public static boolean IS_DEBIAN_LINUX(Code)
True if Debian Linux or derived was detected



IS_FEDORA_LINUX
final public static boolean IS_FEDORA_LINUX(Code)
True if Fedora Linux was detected



IS_FREEBSD
final public static boolean IS_FREEBSD(Code)
True if this is FreeBSD.



IS_HPUX
final public static boolean IS_HPUX(Code)
True if this is HP-UX.



IS_LINUX
final public static boolean IS_LINUX(Code)
True if this is Linux.



IS_MAC
final public static boolean IS_MAC(Code)
True is this is Mac OS



IS_MANDRAKE_LINUX
final public static boolean IS_MANDRAKE_LINUX(Code)
True if Mandriva(Mandrake) Linux was detected



IS_MANDRIVA_LINUX
final public static boolean IS_MANDRIVA_LINUX(Code)
True if Mandrake/Mandriva Linux was detected



IS_OS2
final public static boolean IS_OS2(Code)
True if this is OS/2.



IS_OSX
final public static boolean IS_OSX(Code)
True if this is the Mac OS X.



IS_PPC
final public static boolean IS_PPC(Code)
True if the processor is in the PowerPC family.



IS_REDHAT_LINUX
final public static boolean IS_REDHAT_LINUX(Code)
True if RedHat Linux was detected



IS_SPARC
final public static boolean IS_SPARC(Code)
True if the processor is in the SPARC family.



IS_SUNOS
final public static boolean IS_SUNOS(Code)
True if this is SunOS.



IS_SUNOS_SPARC
final public static boolean IS_SUNOS_SPARC(Code)
True if this is SunOS / sparc



IS_SUNOS_X86
final public static boolean IS_SUNOS_X86(Code)
True if this is SunOS / x86



IS_SUSE_LINUX
final public static boolean IS_SUSE_LINUX(Code)
True if SuSE Linux was detected



IS_UNIX
final public static boolean IS_UNIX(Code)
True if this is some variant of Unix (OSX, Linux, Solaris, FreeBSD, etc).



IS_WINDOWS
final public static boolean IS_WINDOWS(Code)
True if this is Windows.



IS_X86
final public static boolean IS_X86(Code)
True if the processor is in the Intel x86 family.



OS_ARCH
final public static String OS_ARCH(Code)
OS_ARCH = System.getProperty("os.arch")



OS_NAME
final public static String OS_NAME(Code)
OS_NAME = System.getProperty( "os.name" )





Method Detail
getOsDetails
public static String getOsDetails()(Code)
returns a String which contains details of known OSs the details



main
public static void main(String[] args)(Code)
Testmain
Parameters:
  args - Commandline Args



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.