ggregory    2004/02/11 17:58:33

  Modified:    lang/src/java/org/apache/commons/lang SystemUtils.java
  Log:
  
  PR: http://issues.apache.org/bugzilla/show_bug.cgi?id=26877
  [lang] Add SystemUtils.AWT_TOOLKIT.
  
  Revision  Changes    Path
  1.30      +13 -1     
jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java
  
  Index: SystemUtils.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- SystemUtils.java  15 Jan 2004 21:20:12 -0000      1.29
  +++ SystemUtils.java  12 Feb 2004 01:58:33 -0000      1.30
  @@ -100,6 +100,18 @@
       private static final String JAVA_HOME_KEY = "java.home";
       
       /**
  +     * <p>The <code>awt.toolkit</code> System Property.</p>
  +     * <p>Holds a class name, on Windows XP this is 
<code>sun.awt.windows.WToolkit</code>.</p>
  +     * <p><b>On platforms without a GUI, this value is <code>null</code>.</b></p>
  +     * 
  +     * <p>Defaults to <code>null</code> if the runtime does not have
  +     * security access to read this property or the property does not exist.</p>
  +     * 
  +     * @since 2.1
  +     */
  +    public static final String AWT_TOOLKIT = getSystemProperty("awt.toolkit");
  +
  +    /**
        * <p>The <code>file.encoding</code> System Property.</p>
        * <p>File encoding, such as <code>Cp1252</code>.</p>
        * 
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to