Package com.install4j.api.windows
Enum Class SpecialFolder
- All Implemented Interfaces:
Serializable
,Comparable<SpecialFolder>
,Constable
Enumeration class for the different special system folders in Microsoft Windows.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe directory that serves as a common repository for application-specific data.The directory used to store file objects on the desktop.The directory used to physically store a user's common repository of documents.The directory that serves as a common repository for the user's favorite items.Identifies a virtual folder containing fonts.The directory that serves as a data repository for local applications.The directory that serves as a data repository for local applications with low access rights.The directory that program files should be installed to.The directory that shared program files should be installed to.The directory that contains the user's program groups.The directory that contains Send To menu items.The directory containing Start menu items.The directory that corresponds to the user's Startup program group.The directory that serves as a common repository for document templates. -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialFolder
Returns the enum constant of this class with the specified name.static SpecialFolder[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DESKTOP
The directory used to store file objects on the desktop. A typical path isC:\Users\<i>user name</i>\Desktop
. -
STARTMENU
The directory containing Start menu items. A typical path isC:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu
. -
PROGRAMS
The directory that contains the user's program groups. The groups are themselves file system directories. A typical path isC:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
. -
STARTUP
The directory that corresponds to the user's Startup program group. A typical path isC:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
. -
SENDTO
The directory that contains Send To menu items. A typical path isC:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\SendTo
. -
FONTS
Identifies a virtual folder containing fonts. A typical path isC:\Windows\Fonts
. -
APPDATA
The directory that serves as a common repository for application-specific data. A typical path isC:\Users\<i>user name</i>\AppData\Roaming
. -
DOCS
The directory used to physically store a user's common repository of documents. A typical path isC:\Users\<i>user name</i>\Documents
. -
TEMPLATES
The directory that serves as a common repository for document templates. A typical path isC:\Users\<i>user name</i>\AppData\Roaming\Microsoft\Windows\Templates
. -
FAVORITES
The directory that serves as a common repository for the user's favorite items. A typical path isC:\Users\<i>user name</i>\Favorites
. -
LOCAL_APPDATA
The directory that serves as a data repository for local applications. A typical path isC:\Users\<i>user name</i>\AppData\Local
. -
LOCAL_APPDATA_LOW
The directory that serves as a data repository for local applications with low access rights. A typical path isC:\Users\<i>user name</i>\AppData\LocalLow
. -
PROGRAM_FILES
The directory that program files should be installed to. A typical path isC:\Users\<i>user name</i>\AppData\Local\Programs
. -
PROGRAM_FILES_COMMON
The directory that shared program files should be installed to. A typical path isC:\Users\<i>user name</i>\AppData\Local\Programs\Common
.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-