UnixSystem
.
This class is subject to removal in a future version of Java SE.@Deprecated(since="1.4", forRemoval=true) public class SolarisSystem extends Object
Modifier and Type | Field | Description |
---|---|---|
protected long |
gid |
Deprecated, for removal: This API element is subject to removal in a future version.
|
protected long[] |
groups |
Deprecated, for removal: This API element is subject to removal in a future version.
|
protected long |
uid |
Deprecated, for removal: This API element is subject to removal in a future version.
|
protected String |
username |
Deprecated, for removal: This API element is subject to removal in a future version.
|
Constructor | Description |
---|---|
SolarisSystem() |
Deprecated, for removal: This API element is subject to removal in a future version.
Instantiate a
SolarisSystem and load
the native library to access the underlying system information. |
Modifier and Type | Method | Description |
---|---|---|
long |
getGid() |
Deprecated, for removal: This API element is subject to removal in a future version.
Get the GID for the current Solaris user.
|
long[] |
getGroups() |
Deprecated, for removal: This API element is subject to removal in a future version.
Get the supplementary groups for the current Solaris user.
|
long |
getUid() |
Deprecated, for removal: This API element is subject to removal in a future version.
Get the UID for the current Solaris user.
|
String |
getUsername() |
Deprecated, for removal: This API element is subject to removal in a future version.
Get the username for the current Solaris user.
|
protected String username
protected long uid
protected long gid
protected long[] groups
public SolarisSystem()
SolarisSystem
and load
the native library to access the underlying system information.public String getUsername()
public long getUid()
public long getGid()
public long[] getGroups()
Submit a bug or feature
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1998, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b151-2