public class ShellFolder
extends com.jniwrapper.util.EnumItem
Note: This functionality is available for Windows 98 / 2000 / XP.
Under Windows NT 4.0 or Windows 95 Microsoft Internet Explorer with Desktop
Update must be installed.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAbsolutePath()
Returns absolute path of the shell folder.
|
int |
getFolderID() |
static Handle |
getFolderIDList(int folderID)
Retrieves ID list for the shell folder specified by folderID.
|
static java.lang.String |
getPathFromIDList(Handle idList)
Retrieves absolute folder path from ID list.
|
static java.lang.String |
getSpecialFolderPath(int folderID)
Retrieves absolute path of the shell folder.
|
static java.lang.String |
getSpecialFolderPath(int folderID,
boolean create)
Retrieves absolute path of shell folder.
|
static boolean |
isFunctionalityAvailable()
Returns true if the shell folder functionality is available for current
operating system.
|
boolean |
isVirtual() |
public static final ShellFolder ADMINTOOLS
public static final ShellFolder ALTSTARTUP
public static final ShellFolder APPDATA
public static final ShellFolder BITBUCKET
public static final ShellFolder CDBURN_AREA
public static final ShellFolder COMMON_ADMINTOOLS
public static final ShellFolder COMMON_ALTSTARTUP
public static final ShellFolder COMMON_APPDATA
public static final ShellFolder COMMON_DESKTOPDIRECTORY
public static final ShellFolder COMMON_DOCUMENTS
public static final ShellFolder COMMON_FAVORITES
public static final ShellFolder COMMON_MUSIC
public static final ShellFolder COMMON_PICTURES
public static final ShellFolder COMMON_PROGRAMS
public static final ShellFolder COMMON_STARTMENU
public static final ShellFolder COMMON_STARTUP
public static final ShellFolder COMMON_TEMPLATES
public static final ShellFolder COMMON_VIDEO
public static final ShellFolder CONTROLS
public static final ShellFolder COOKIES
public static final ShellFolder DESKTOP
public static final ShellFolder DESKTOPDIRECTORY
public static final ShellFolder DRIVES
public static final ShellFolder FAVORITES
public static final ShellFolder FONTS
public static final ShellFolder HISTORY
public static final ShellFolder INTERNET
public static final ShellFolder INTERNET_CACHE
public static final ShellFolder LOCAL_APPDATA
public static final ShellFolder MYDOCUMENTS
public static final ShellFolder MYMUSIC
public static final ShellFolder MYPICTURES
public static final ShellFolder MYVIDEO
public static final ShellFolder NETHOOD
public static final ShellFolder NETWORK
public static final ShellFolder PERSONAL
public static final ShellFolder PRINTERS
public static final ShellFolder PROFILE
public static final ShellFolder PROFILES
public static final ShellFolder PROGRAM_FILES
public static final ShellFolder PROGRAM_FILES_COMMON
public static final ShellFolder PROGRAMS
public static final ShellFolder RECENT
public static final ShellFolder SEND_TO
public static final ShellFolder START_MENU
public static final ShellFolder STARTUP
public static final ShellFolder SYSTEM
public static final ShellFolder TEMPLATES
public static final ShellFolder WINDOWS
public static final ShellFolder COMPUTER
public static final ShellFolder NET_CONNECTIONS
public int getFolderID()
public boolean isVirtual()
public java.lang.String getAbsolutePath()
public static Handle getFolderIDList(int folderID)
folderID
- is a shell folder ID.public static java.lang.String getPathFromIDList(Handle idList)
idList
- is a handle to ID list.public static java.lang.String getSpecialFolderPath(int folderID, boolean create)
folderID
- shell folder ID.create
- flag to create a folder.public static java.lang.String getSpecialFolderPath(int folderID)
folderID
- shell folder ID.public static boolean isFunctionalityAvailable()