net.sf.ovanttasks.ovnative.win32
Class Win32

java.lang.Object
  extended by net.sf.ovanttasks.ovnative.win32.Win32

public class Win32
extends Object

Win32 contains common used static methods to retrieve windows specific directories like desktop, start menu, sent to menu etc. Most directories can be queried for the current user or all users.

Author:
lars.gersmann@roxes.com, arnep@users.sf.net

Nested Class Summary
static class Win32.SpecialDirectory
          SpecialDirectory holds wll known directories.
 
Constructor Summary
Win32()
           
 
Method Summary
static String expandEnvironmentStrings(String value)
          Expands a value %VALUE%
static File getSpecialDirectory(Win32.SpecialDirectory folder)
          Deprecated. 
static String getWindowsDirectory()
           
static String getWindowsSystemDirectory()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Win32

public Win32()
Method Detail

expandEnvironmentStrings

public static String expandEnvironmentStrings(String value)
                                       throws Win32Exception
Expands a value %VALUE%

Parameters:
value -
Returns:
Throws:
Win32Exception

getWindowsDirectory

public static String getWindowsDirectory()
                                  throws Win32Exception
Throws:
Win32Exception

getWindowsSystemDirectory

public static String getWindowsSystemDirectory()
                                        throws Win32Exception
Throws:
Win32Exception

getSpecialDirectory

@Deprecated
public static File getSpecialDirectory(Win32.SpecialDirectory folder)
Deprecated. 



Copyright © 2008 Orangevolt. All Rights Reserved.