Package pgp.cert_d
Class BaseDirectoryProvider
- java.lang.Object
-
- pgp.cert_d.BaseDirectoryProvider
-
public class BaseDirectoryProvider extends java.lang.ObjectProvider class that is responsible for resolving the pgp.cert.d base directory of the system. The result can be overwritten by setting thePGP_CERT_D
environment variable. If this variable is not set, the system-specific default directory will be returned. On Windows systems, this is%APPDATA%\pgp.cert.d
. On Linux systems it is either$XDG_DATA_HOME/pgp.cert.d
or, if$XDG_DATA_HOME
is not set, it is$HOME/.local/share/pgp.cert.d
On Mac systems it is$HOME/Library/Application Support/pgp.cert.d
.
-
-
Constructor Summary
Constructors Constructor Description BaseDirectoryProvider()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.io.FilegetDefaultBaseDir()static java.io.FilegetDefaultBaseDirForOS(java.lang.String osName)
-