Java Doc for JavaPlatform.java in  » IDE-Netbeans » gsf » org » netbeans » modules » gsfpath » api » platform » 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 » gsf » org.netbeans.modules.gsfpath.api.platform 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.gsfpath.api.platform.JavaPlatform

All known Subclasses:   org.netbeans.modules.gsfpath.platform.FallbackDefaultJavaPlatform,
JavaPlatform
abstract public class JavaPlatform (Code)
JavaPlatform describes a java platform in a way that the IDE tools may utilize. It may serve as description of the platform a java project targets, or it may provide access to tools from the particular SDK installation. It also provides information about individual platforms, for example the Java platform version implemented, vendor name or implementation version. It is also possible to enumerate services that the IDE supports, which are implemented as a part of the Platform.
author:
   Radko Najman, Svata Dedic, Tomas Zezula


Field Summary
final public static  StringPROP_DISPLAY_NAME
    
final public static  StringPROP_JAVADOC_FOLDER
    
final public static  StringPROP_SOURCE_FOLDER
    
final public static  StringPROP_SYSTEM_PROPERTIES
    

Constructor Summary
protected  JavaPlatform()
    

Method Summary
final public  voidaddPropertyChangeListener(PropertyChangeListener l)
    
abstract public  FileObjectfindTool(String toolName)
     Gets the platform tool executable.
Parameters:
  toolName - the tool platform independent tool name.
final protected  voidfirePropertyChange(String propName, Object oldValue, Object newValue)
    
abstract public  ClassPathgetBootstrapLibraries()
     Returns a ClassPath, which represents bootstrap libraries for the runtime environment.
public static  JavaPlatformgetDefault()
     Get the "default platform", meaning the JDK on which NetBeans itself is running.
abstract public  StringgetDisplayName()
    
abstract public  Collection<FileObject>getInstallFolders()
     Retrieves a collection of FileObject s of one or more folders where the Platform is installed.
abstract public  List<URL>getJavadocFolders()
    
abstract public  Map<String, String>getProperties()
     Gets some ad-hoc properties defined for this platform.
abstract public  ClassPathgetSourceFolders()
    
abstract public  SpecificationgetSpecification()
    
abstract public  ClassPathgetStandardLibraries()
     Returns libraries recognized by default by the platform.
final public  Map<String, String>getSystemProperties()
     Gets the java platform system properties.
abstract public  StringgetVendor()
    
final public  voidremovePropertyChangeListener(PropertyChangeListener l)
    
final protected  voidsetSystemProperties(Map<String, String> sysproperties)
     Sets the system properties of java platform.

Field Detail
PROP_DISPLAY_NAME
final public static String PROP_DISPLAY_NAME(Code)
Property name for displayName



PROP_JAVADOC_FOLDER
final public static String PROP_JAVADOC_FOLDER(Code)
Property name for javadocFolders



PROP_SOURCE_FOLDER
final public static String PROP_SOURCE_FOLDER(Code)
Property name for sourceFolders



PROP_SYSTEM_PROPERTIES
final public static String PROP_SYSTEM_PROPERTIES(Code)
Property name for systemProperties




Constructor Detail
JavaPlatform
protected JavaPlatform()(Code)
Creates a new instance of JavaPlatform




Method Detail
addPropertyChangeListener
final public void addPropertyChangeListener(PropertyChangeListener l)(Code)
Registers a listener to be notified when some of the platform's properties change



findTool
abstract public FileObject findTool(String toolName)(Code)
Gets the platform tool executable.
Parameters:
  toolName - the tool platform independent tool name. file representing the tool executable, or null if the tool can not be found



firePropertyChange
final protected void firePropertyChange(String propName, Object oldValue, Object newValue)(Code)
Fires PropertyChange to all registered PropertyChangeListeners
Parameters:
  propName -
Parameters:
  oldValue -
Parameters:
  newValue -



getBootstrapLibraries
abstract public ClassPath getBootstrapLibraries()(Code)
Returns a ClassPath, which represents bootstrap libraries for the runtime environment. The Bootstrap libraries include libraries in JRE's extension directory, if there are any. ClassPath representing the bootstrap libs



getDefault
public static JavaPlatform getDefault()(Code)
Get the "default platform", meaning the JDK on which NetBeans itself is running. the default platform, if it can be found, or null
See Also:   JavaPlatformManager.getDefaultPlatform



getDisplayName
abstract public String getDisplayName()(Code)
a descriptive, human-readable name of the platform



getInstallFolders
abstract public Collection<FileObject> getInstallFolders()(Code)
Retrieves a collection of FileObject s of one or more folders where the Platform is installed. Typically it returns one folder, but in some cases there can be more of them. collection of installation folders (should be nonempty unless platform is broken)



getJavadocFolders
abstract public List<URL> getJavadocFolders()(Code)
Returns the locations of the Javadoc for this platform or empty collection if the location is not set or invalid (non-null) list of locations



getProperties
abstract public Map<String, String> getProperties()(Code)
Gets some ad-hoc properties defined for this platform. The precise set of properties is not specified.

Implementations are however advised to include the key platform.ant.name if they wish to be used in Ant builds; the value default_platform is conventionally associated with the default platform.

some properties



getSourceFolders
abstract public ClassPath getSourceFolders()(Code)
Returns the locations of the source of platform or empty collection when the location is not set or is invalid ClassPath never returns null



getSpecification
abstract public Specification getSpecification()(Code)
Returns specification of the Java SDK Specification



getStandardLibraries
abstract public ClassPath getStandardLibraries()(Code)
Returns libraries recognized by default by the platform. Usually it corresponds to contents of CLASSPATH environment variable.



getSystemProperties
final public Map<String, String> getSystemProperties()(Code)
Gets the java platform system properties. the java platform system properties



getVendor
abstract public String getVendor()(Code)
Returns the vendor of the Java SDK String



removePropertyChangeListener
final public void removePropertyChangeListener(PropertyChangeListener l)(Code)
Removes a listener registered previously



setSystemProperties
final protected void setSystemProperties(Map<String, String> sysproperties)(Code)
Sets the system properties of java platform.
Parameters:
  sysproperties - the java platform system properties



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.