public enum SpecialFolder extends java.lang.Enum<SpecialFolder>
Enum Constant and Description |
---|
APPDATA
Identifies the file system directory that serves as a common repository for application-specific data.
|
DESKTOP
Identifies the file system directory used to physically store file objects on the desktop.
|
DOCS
Identifies the file system directory used to physically store a user's common repository of documents.
|
FAVORITES
Identifies the file system directory that serves as a common repository for the user's favorite items.
|
FONTS
Identifies a virtual folder containing fonts.
|
LOCAL_APPDATA
Identifies the file system directory that serves as a data repository for local applications.
|
PROGRAMS
Identifies the file system directory that contains the user's program groups.
|
SENDTO
Identifies the file system directory that contains Send To menu items.
|
STARTMENU
Identifies the file system directory containing Start menu items.
|
STARTUP
Identifies the file system directory that corresponds to the user's Startup program group.
|
TEMPLATES
Identifies the file system directory that serves as a common repository for document templates.
|
Modifier and Type | Method and Description |
---|---|
static SpecialFolder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpecialFolder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpecialFolder DESKTOP
public static final SpecialFolder STARTMENU
public static final SpecialFolder PROGRAMS
public static final SpecialFolder STARTUP
public static final SpecialFolder SENDTO
public static final SpecialFolder FONTS
public static final SpecialFolder APPDATA
public static final SpecialFolder DOCS
public static final SpecialFolder TEMPLATES
public static final SpecialFolder FAVORITES
public static final SpecialFolder LOCAL_APPDATA
public static SpecialFolder[] values()
for (SpecialFolder c : SpecialFolder.values()) System.out.println(c);
public static SpecialFolder valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null