Java Doc for SystemInfo.java in  » Swing-Library » jide-common » com » jidesoft » utils » 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 » Swing Library » jide common » com.jidesoft.utils 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.jidesoft.utils.SystemInfo

SystemInfo
final public class SystemInfo (Code)
A utility class can detect OS system information.




Method Summary
public static  StringgetCurrentDirectory()
     Returns the user's home directory.
public static  StringgetJavaClassVerion()
     Returns the verion of the java classwe're using.
public static  StringgetJavaVendor()
     Returns the vendor for java we're using.
public static  StringgetJavaVersion()
     Returns the version of java we're using.
public static  StringgetOS()
     Returns the operating system.
public static  StringgetOSArchitecture()
     Returns the operating system architecture.
public static  StringgetOSVersion()
     Returns the operating system version.
public static  booleanisAnyMac()
     Returns whether or not the os is any Mac os.
public static  booleanisCJKLocale()
     Returns whether the default locale is one of the three language - Chinese, Japanese or Korean - also known as CJK.
public static  booleanisCJKLocale(Locale locale)
     Returns whether the locale is one of the three language - Chinese, Japanese or Korean - also known as CJK.
Parameters:
  locale - the locale to be checked.
public static  booleanisClassicWindows()
     Gets the state of the flag which indicates if the old Windows look and feel should be rendered.
public static  booleanisJdk13Above()
     Returns whether or no the JDK version is 1.3 and above.
public static  booleanisJdk142Above()
     Returns whether or no the JDK version is 1.4.2 and above.
public static  booleanisJdk14Above()
     Returns whether or no the JDK version is 1.4 and above.
public static  booleanisJdk15Above()
     Returns whether or no the JDK version is 1.5 and above.
public static  booleanisJdk16Above()
     Returns whether or no the JDK version is 6 and above.
public static  booleanisJdk6Above()
     Returns whether or no the JDK version is 6 and above.
public static  booleanisJdk7Above()
     Returns whether or no the JDK version is 1.7 and above.
public static  booleanisLinux()
     Returns whether or not the os is Linux.
public static  booleanisMacClassic()
     Returns whether or not the os is Mac 9.1 or earlier.
public static  booleanisMacOSX()
     Returns whether or not the os is Mac OSX.
public static  booleanisSolaris()
     Returns whether or not the os is Solaris.
public static  booleanisUnix()
     Returns whether or not the os is some version of Unix, defined here as only Solaris or Linux.
public static  booleanisWindows()
     Returns whether or not the os is some version of Windows.
public static  booleanisWindows2003()
     Returns whether or not the os is some version of Windows 2003.
public static  booleanisWindows95()
     Returns whether or not the os is some version of Windows 95.
public static  booleanisWindows98()
     Returns whether or not the os is some version of Windows 98.
public static  booleanisWindowsNTor2000()
     Returns whether or not the os is some version of Windows NT.
public static  booleanisWindowsXP()
     Returns whether or not the os is some version of Windows XP.
public static  voidsetSupportsTray(boolean support)
     Set supportTray to false in case dll is missing.
public static  booleansupportsTray()
     Returns true if this is Windows NT or Windows 2000 and hence can support a system tray feature.



Method Detail
getCurrentDirectory
public static String getCurrentDirectory()(Code)
Returns the user's home directory. the user home .



getJavaClassVerion
public static String getJavaClassVerion()(Code)
Returns the verion of the java classwe're using. the java class verison.



getJavaVendor
public static String getJavaVendor()(Code)
Returns the vendor for java we're using. the java vendor.



getJavaVersion
public static String getJavaVersion()(Code)
Returns the version of java we're using. the java verison.



getOS
public static String getOS()(Code)
Returns the operating system. the os name.



getOSArchitecture
public static String getOSArchitecture()(Code)
Returns the operating system architecture. the os architecture.



getOSVersion
public static String getOSVersion()(Code)
Returns the operating system version. the os version.



isAnyMac
public static boolean isAnyMac()(Code)
Returns whether or not the os is any Mac os. true if the application is running on Mac OSXor any previous mac version, false otherwise.



isCJKLocale
public static boolean isCJKLocale()(Code)
Returns whether the default locale is one of the three language - Chinese, Japanese or Korean - also known as CJK. true if the default locale is in CJK.



isCJKLocale
public static boolean isCJKLocale(Locale locale)(Code)
Returns whether the locale is one of the three language - Chinese, Japanese or Korean - also known as CJK.
Parameters:
  locale - the locale to be checked. true if the default locale is in CJK.



isClassicWindows
public static boolean isClassicWindows()(Code)
Gets the state of the flag which indicates if the old Windows look and feel should be rendered. This flag is used by the component UI delegates as a hint to determine which style the component should be rendered. true if Windows 95 and Windows NT 4 look and feel shouldbe rendered.



isJdk13Above
public static boolean isJdk13Above()(Code)
Returns whether or no the JDK version is 1.3 and above. true if the application is running on JDK 1.3 and above,false otherwise.



isJdk142Above
public static boolean isJdk142Above()(Code)
Returns whether or no the JDK version is 1.4.2 and above. true if the application is running on JDK 1.4.2 and above,false otherwise.



isJdk14Above
public static boolean isJdk14Above()(Code)
Returns whether or no the JDK version is 1.4 and above. true if the application is running on JDK 1.4 and above,false otherwise.



isJdk15Above
public static boolean isJdk15Above()(Code)
Returns whether or no the JDK version is 1.5 and above. true if the application is running on JDK 1.5 and above,false otherwise.



isJdk16Above
public static boolean isJdk16Above()(Code)
Returns whether or no the JDK version is 6 and above. true if the application is running on JDK 6 and above,false otherwise.SystemInfo.isJdk6Above()



isJdk6Above
public static boolean isJdk6Above()(Code)
Returns whether or no the JDK version is 6 and above. true if the application is running on JDK 6 and above,false otherwise.



isJdk7Above
public static boolean isJdk7Above()(Code)
Returns whether or no the JDK version is 1.7 and above. true if the application is running on JDK 1.7 and above,false otherwise.



isLinux
public static boolean isLinux()(Code)
Returns whether or not the os is Linux. true if the application is running on Linux,false otherwise.



isMacClassic
public static boolean isMacClassic()(Code)
Returns whether or not the os is Mac 9.1 or earlier. true if the application is running on a Mac versionprior to OSX, false otherwise.



isMacOSX
public static boolean isMacOSX()(Code)
Returns whether or not the os is Mac OSX. true if the application is running on Mac OSX,false otherwise.



isSolaris
public static boolean isSolaris()(Code)
Returns whether or not the os is Solaris. true if the application is running on Solaris,false otherwise.



isUnix
public static boolean isUnix()(Code)
Returns whether or not the os is some version of Unix, defined here as only Solaris or Linux. true if the application is running on a type of UNIX such as Linux or Solaris,false otherwise.



isWindows
public static boolean isWindows()(Code)
Returns whether or not the os is some version of Windows. true if the application is running on some Windowsversion, false otherwise.



isWindows2003
public static boolean isWindows2003()(Code)
Returns whether or not the os is some version of Windows 2003. true if the application is running on Windows 2003,false otherwise.



isWindows95
public static boolean isWindows95()(Code)
Returns whether or not the os is some version of Windows 95. true if the application is running on Windows XP,false otherwise.



isWindows98
public static boolean isWindows98()(Code)
Returns whether or not the os is some version of Windows 98. true if the application is running on Windows XP,false otherwise.



isWindowsNTor2000
public static boolean isWindowsNTor2000()(Code)
Returns whether or not the os is some version of Windows NT. true if the application is running on Windows NTor 2000, false otherwise.



isWindowsXP
public static boolean isWindowsXP()(Code)
Returns whether or not the os is some version of Windows XP. true if the application is running on Windows XP,false otherwise.



setSupportsTray
public static void setSupportsTray(boolean support)(Code)
Set supportTray to false in case dll is missing.
Parameters:
  support - true or false.



supportsTray
public static boolean supportsTray()(Code)
Returns true if this is Windows NT or Windows 2000 and hence can support a system tray feature. true of system tray is supported.



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.