system reserved property names (original) (raw)
David Holmes david.holmes at oracle.com
Fri Apr 19 02:44:30 UTC 2013
- Previous message: system reserved property names
- Next message: system reserved property names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 19/04/2013 8:32 AM, huizhe wang wrote:
On 4/18/2013 2:13 AM, Alan Bateman wrote: On 18/04/2013 07:28, huizhe wang wrote:
System.getProperties [1] returns all of the "current" system properties. Is there a way to get a list of the system reserved properties such as "java.version" and etc.? Would anyone know?
[1]http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties%28%29 I'm not 100% sure what you mean by "reserved" but I will guess that you asking if there is a complete list of the system properties defined by the Java SE APIs and perhaps the list of JDK-specific system properties too. Off-hand, I'm not aware of a master list, they are instead "buried" in the API specs. Is the context the system properties that JAXP 1.5 is proposing to define? Yes, those defined by the Java SE APIs or the JDK-specific system properties. Not related to JAXP 1.5, I'm just asking a general question to find out if there's an API to get the 'master' list.
As with Alan I don't know what you mean by "reserved". The documentation you link to above tells you what properties must exist. But an implementation can add other properties. I don't know if there is any rule that says they can't add properties in the java.* namespace.
David
-Joe
-Alan
- Previous message: system reserved property names
- Next message: system reserved property names
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]