SystemInformation.getSpecialFolderPath

Overview | Methods | This Package | All Packages

SystemInformation.getSpecialFolderPath

Retrieves the path to a specific special folder.

Syntax

public static final String getSpecialFolderPath( int folder )

Parameters

folder

An integer value that represents the special folder path to retrieve.

Return Value

Returns a path to the special folder.

Remarks

Special folders are common locations, defined by Windows, that store various types of data. When calling this method, use the constants in the SpecialFolder class to determine the folder to retrieve. You can also obtain the proper storage directory for items such as documents and sound files.