You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Gets the current user directory as a {@link File}.
2125
+
* <p>
2126
+
* The result is based on the system property {@value SystemProperties#USER_DIR}.
2127
+
* </p>
2125
2128
*
2126
2129
* @return a directory
2127
2130
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
@@ -2134,6 +2137,9 @@ public static File getUserDir() {
2134
2137
2135
2138
/**
2136
2139
* Gets the current user home directory as a {@link File}.
2140
+
* <p>
2141
+
* The result is based on the system property {@value SystemProperties#USER_HOME}.
2142
+
* </p>
2137
2143
*
2138
2144
* @return a directory
2139
2145
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
@@ -2146,6 +2152,9 @@ public static File getUserHome() {
2146
2152
2147
2153
/**
2148
2154
* Gets the current user name.
2155
+
* <p>
2156
+
* The result is based on the system property {@value SystemProperties#USER_NAME}.
2157
+
* </p>
2149
2158
*
2150
2159
* @return a name
2151
2160
* @throws SecurityException if a security manager exists and its {@code checkPropertyAccess} method doesn't allow access to the specified system property.
@@ -2160,6 +2169,9 @@ public static String getUserName() {
2160
2169
2161
2170
/**
2162
2171
* Gets the user name.
2172
+
* <p>
2173
+
* The result is based on the system property {@value SystemProperties#USER_NAME}.
0 commit comments