public class UnixGroup extends Object
Constructor and Description |
---|
UnixGroup(int gid)
Looks up a user according to the group's GID.
|
UnixGroup(String groupName)
Looks up a user according to the group name.
|
Modifier and Type | Method and Description |
---|---|
int |
getGid()
Returns the ID number for the group.
|
List<String> |
getMembers()
Returns the members for this group.
|
String |
getName()
Returns the real name of the group.
|
String |
toString() |
public UnixGroup(String groupName) throws IllegalArgumentException
IllegalArgumentException
public UnixGroup(int gid) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2010–2016 UNICORE. All rights reserved.