Java Doc for Platform.java in  » IDE-Netbeans » cvsclient » org » netbeans » lib » profiler » global » 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 » IDE Netbeans » cvsclient » org.netbeans.lib.profiler.global 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.lib.profiler.global.Platform

Platform
public class Platform implements CommonConstants(Code)
Determination of the current platform (OS, hardware) and related services.
author:
   Tomas Hurka
author:
   Misha Dmitriev
author:
   Ian Formanek


Field Summary
final public static  intOS_AIX
     Operating system is IBM AIX.
final public static  intOS_HP
     Operating system is HP-UX.
final public static  intOS_IRIX
     Operating system is SGI IRIX.
final public static  intOS_LINUX
     Operating system is Linux.
final public static  intOS_MAC
     Operating system is Mac.
final public static  intOS_OS2
     Operating system is OS/2.
final public static  intOS_OTHER
     Operating system is unknown.
final public static  intOS_SOLARIS
     Operating system is Solaris.
final public static  intOS_SUNOS
     Operating system is Sun OS.
final public static  intOS_TRU64
    
final public static  intOS_UNIX_MASK
     A mask for Unix platforms.
final public static  intOS_VMS
    
final public static  intOS_WIN2000
     Operating system is Windows 2000.
final public static  intOS_WIN95
     Operating system is Windows 95.
final public static  intOS_WIN98
     Operating system is Windows 98.
final public static  intOS_WINDOWS_MASK
     A mask for Windows platforms.
final public static  intOS_WINNT
     Operating system is Windows NT.
final public static  intOS_WIN_OTHER
    


Method Summary
public static  StringgetAgentNativeLibFullName(String fullAgentPath, boolean fullPathToLibSpecified, String jdkString, int architecture)
     Given the name of the directory containing the JFluid native libaries (either just the root JFluid libs dir, or really the full path, depending on fullPathToLibSpecified parameter), return the full platform-dependent name for the "profilerinterface" library contained in that directory.
public static  intgetJDKMinorNumber(String jdkVersionString)
    
public static  intgetJDKVersionNumber()
    
public static  StringgetJDKVersionString(String javaVersionString)
     Returns the string for, essentially, JFluid directory corresponding to a particular JDK version the TA runs on.
public static  StringgetJDKVersionString()
     Returns the string for, essentially, JFluid directory corresponding to a particular JDK version the TA runs on.
public static  StringgetJFluidNativeLibDirName(String fullJFluidPath, String jdkString, int architecture)
    
public static  intgetOperatingSystem()
     Get the operating system on which we are is running.
public static  intgetOperatingSystem(String osName)
    
public static  StringgetProfilerUserDir()
    
public static  intgetSystemArchitecture()
    
public static  booleanis32bitArchitecture()
    
public static  booleanis64bitArchitecture()
    
public static  booleanisLinux()
    
public static  booleanisLinux(String osName)
    
public static  booleanisMac()
    
public static  booleanisSolaris()
    
public static  booleanisSolarisIntel()
    
public static  booleanisSolarisSparc()
    
public static  booleanisUnix()
     Test whether we are running on some variant of Unix.
public static  booleanisWindows()
    
public static  booleanisWindows(String osName)
    
public static  booleansupportsDynamicAttach(String jdkVersionString)
    
public static  booleansupportsThreadSleepingStateMonitoring(String jdkVersionString)
    
public static  booleanthisVMSupportsThreadSleepingStateMonitoring()
    

Field Detail
OS_AIX
final public static int OS_AIX(Code)
Operating system is IBM AIX.



OS_HP
final public static int OS_HP(Code)
Operating system is HP-UX.



OS_IRIX
final public static int OS_IRIX(Code)
Operating system is SGI IRIX.



OS_LINUX
final public static int OS_LINUX(Code)
Operating system is Linux.



OS_MAC
final public static int OS_MAC(Code)
Operating system is Mac.



OS_OS2
final public static int OS_OS2(Code)
Operating system is OS/2.



OS_OTHER
final public static int OS_OTHER(Code)
Operating system is unknown.



OS_SOLARIS
final public static int OS_SOLARIS(Code)
Operating system is Solaris.



OS_SUNOS
final public static int OS_SUNOS(Code)
Operating system is Sun OS.



OS_TRU64
final public static int OS_TRU64(Code)
Operating system is Compaq TRU64 Unix



OS_UNIX_MASK
final public static int OS_UNIX_MASK(Code)
A mask for Unix platforms.



OS_VMS
final public static int OS_VMS(Code)
Operating system is Compaq OpenVMS



OS_WIN2000
final public static int OS_WIN2000(Code)
Operating system is Windows 2000.



OS_WIN95
final public static int OS_WIN95(Code)
Operating system is Windows 95.



OS_WIN98
final public static int OS_WIN98(Code)
Operating system is Windows 98.



OS_WINDOWS_MASK
final public static int OS_WINDOWS_MASK(Code)
A mask for Windows platforms.



OS_WINNT
final public static int OS_WINNT(Code)
Operating system is Windows NT.



OS_WIN_OTHER
final public static int OS_WIN_OTHER(Code)
Operating system is one of the Windows variants but we don't know which one it is





Method Detail
getAgentNativeLibFullName
public static String getAgentNativeLibFullName(String fullAgentPath, boolean fullPathToLibSpecified, String jdkString, int architecture)(Code)
Given the name of the directory containing the JFluid native libaries (either just the root JFluid libs dir, or really the full path, depending on fullPathToLibSpecified parameter), return the full platform-dependent name for the "profilerinterface" library contained in that directory. If non-null jdkString is specified, it is used in the resulting path; otherwise the VM is queried for its version and the resulting string is used.
Parameters:
  fullAgentPath - The path to the library
Parameters:
  fullPathToLibSpecified - whether or not a full path is specified (ending at the platform level)
Parameters:
  jdkString - CommonConstants.JDK_15_STRING A path to the native library to be used for this platform



getJDKMinorNumber
public static int getJDKMinorNumber(String jdkVersionString)(Code)
Returns JDK minor version



getJDKVersionNumber
public static int getJDKVersionNumber()(Code)
Returns the JFluid-internal JDK version number



getJDKVersionString
public static String getJDKVersionString(String javaVersionString)(Code)
Returns the string for, essentially, JFluid directory corresponding to a particular JDK version the TA runs on. Currently it's "jdk15" for JDK 1.5 version and "jdk16" for JDK 1.6 version.



getJDKVersionString
public static String getJDKVersionString()(Code)
Returns the string for, essentially, JFluid directory corresponding to a particular JDK version the TA runs on. Currently it's "jdk15" for JDK 1.5 version, "jdk16" for JDK 1.6 version and jdk17 for JDK 1.7 version.



getJFluidNativeLibDirName
public static String getJFluidNativeLibDirName(String fullJFluidPath, String jdkString, int architecture)(Code)



getOperatingSystem
public static int getOperatingSystem()(Code)
Get the operating system on which we are is running. Returns one of the OS_* constants (such as Platform.OS_WINNT )



getOperatingSystem
public static int getOperatingSystem(String osName)(Code)



getProfilerUserDir
public static String getProfilerUserDir() throws IOException(Code)



getSystemArchitecture
public static int getSystemArchitecture()(Code)
Returns system architecture: 32/64bit



is32bitArchitecture
public static boolean is32bitArchitecture()(Code)
Returns true if current system architecture is 32bit



is64bitArchitecture
public static boolean is64bitArchitecture()(Code)
Returns true if current system architecture is 64bit



isLinux
public static boolean isLinux()(Code)
Test whether we are running on Linux



isLinux
public static boolean isLinux(String osName)(Code)
Test whether the supplied OS name is Linux



isMac
public static boolean isMac()(Code)



isSolaris
public static boolean isSolaris()(Code)
Test whether we are running on Solaris



isSolarisIntel
public static boolean isSolarisIntel()(Code)
Test whether we are running on Solaris on Intel processor



isSolarisSparc
public static boolean isSolarisSparc()(Code)
Test whether we are running on Solaris on SPARC processor



isUnix
public static boolean isUnix()(Code)
Test whether we are running on some variant of Unix. Linux is included as well as the commercial vendors.



isWindows
public static boolean isWindows()(Code)
Test whether we are is running on some variant of Windows



isWindows
public static boolean isWindows(String osName)(Code)
Test whether the supplied OS name is some variant of Windows



supportsDynamicAttach
public static boolean supportsDynamicAttach(String jdkVersionString)(Code)
Returns true if the given JVM version supports dynaimc attach



supportsThreadSleepingStateMonitoring
public static boolean supportsThreadSleepingStateMonitoring(String jdkVersionString)(Code)
Returns true if the given JVM version passed as String correctly reports "sleeping" state



thisVMSupportsThreadSleepingStateMonitoring
public static boolean thisVMSupportsThreadSleepingStateMonitoring()(Code)
Returns true if the current JVM correctly reports "sleeping" state



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.