net.sf.ovanttasks.ovnative.win32
Enum Win32.SpecialDirectory

java.lang.Object
  extended by java.lang.Enum<Win32.SpecialDirectory>
      extended by net.sf.ovanttasks.ovnative.win32.Win32.SpecialDirectory
All Implemented Interfaces:
Serializable, Comparable<Win32.SpecialDirectory>
Enclosing class:
Win32

public static enum Win32.SpecialDirectory
extends Enum<Win32.SpecialDirectory>

SpecialDirectory holds wll known directories.


Enum Constant Summary
COMMON_AUTOSTART_MENU
           
COMMON_DESKTOP
           
COMMON_DOCUMENTS
           
COMMON_FILES
           
COMMON_PROGRAMS_MENU
           
COMMON_START_MENU
           
COMMON_TEMPLATES
           
PERSONAL_AUTOSTART_MENU
           
PERSONAL_DESKTOP
           
PERSONAL_FAVORITES
           
PERSONAL_FILES
           
PERSONAL_PROGRAMS_MENU
           
PERSONAL_SEND_TO
           
PERSONAL_START_MENU
           
PERSONAL_TEMPLATES
           
PROGRAM_FILES
           
TEMP
           
TMP
           
 
Method Summary
 File getDir()
           
 String getPath()
           
static Win32.SpecialDirectory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Win32.SpecialDirectory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PROGRAM_FILES

public static final Win32.SpecialDirectory PROGRAM_FILES

COMMON_FILES

public static final Win32.SpecialDirectory COMMON_FILES

COMMON_DESKTOP

public static final Win32.SpecialDirectory COMMON_DESKTOP

COMMON_DOCUMENTS

public static final Win32.SpecialDirectory COMMON_DOCUMENTS

COMMON_START_MENU

public static final Win32.SpecialDirectory COMMON_START_MENU

COMMON_PROGRAMS_MENU

public static final Win32.SpecialDirectory COMMON_PROGRAMS_MENU

COMMON_AUTOSTART_MENU

public static final Win32.SpecialDirectory COMMON_AUTOSTART_MENU

COMMON_TEMPLATES

public static final Win32.SpecialDirectory COMMON_TEMPLATES

PERSONAL_DESKTOP

public static final Win32.SpecialDirectory PERSONAL_DESKTOP

PERSONAL_FILES

public static final Win32.SpecialDirectory PERSONAL_FILES

PERSONAL_START_MENU

public static final Win32.SpecialDirectory PERSONAL_START_MENU

PERSONAL_PROGRAMS_MENU

public static final Win32.SpecialDirectory PERSONAL_PROGRAMS_MENU

PERSONAL_AUTOSTART_MENU

public static final Win32.SpecialDirectory PERSONAL_AUTOSTART_MENU

PERSONAL_TEMPLATES

public static final Win32.SpecialDirectory PERSONAL_TEMPLATES

PERSONAL_SEND_TO

public static final Win32.SpecialDirectory PERSONAL_SEND_TO

PERSONAL_FAVORITES

public static final Win32.SpecialDirectory PERSONAL_FAVORITES

TEMP

public static final Win32.SpecialDirectory TEMP

TMP

public static final Win32.SpecialDirectory TMP
Method Detail

values

public static Win32.SpecialDirectory[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Win32.SpecialDirectory c : Win32.SpecialDirectory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Win32.SpecialDirectory valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getPath

public String getPath()

getDir

public File getDir()


Copyright © 2008 Orangevolt. All Rights Reserved.