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
C:\Users\<i>user name</i>\Desktop
.public static final SpecialFolder STARTMENU
C:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu
.public static final SpecialFolder PROGRAMS
C:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
.public static final SpecialFolder STARTUP
C:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
.public static final SpecialFolder SENDTO
C:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\SendTo
.public static final SpecialFolder FONTS
C:\Windows\Fonts
.public static final SpecialFolder APPDATA
C:\Users\<i>user name</i>\AppData\Roaming
.public static final SpecialFolder DOCS
C:\Users\<i>user name</i>\Documents
.public static final SpecialFolder TEMPLATES
C:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Templates
.public static final SpecialFolder FAVORITES
C:\Users\<i>user name</i>\Favorites
.public static final SpecialFolder LOCAL_APPDATA
C:\Users\<i>user name</i>\AppData\Local
.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