Class SimpleGroupPrincipal
- java.lang.Object
-
- com.github.robtimus.filesystems.attribute.SimpleUserPrincipal
-
- com.github.robtimus.filesystems.attribute.SimpleGroupPrincipal
-
- All Implemented Interfaces:
GroupPrincipal
,UserPrincipal
,Principal
public class SimpleGroupPrincipal extends SimpleUserPrincipal implements GroupPrincipal
AGroupPrincipal
implementation that simply stores a name.- Author:
- Rob Spoor
-
-
Constructor Summary
Constructors Constructor Description SimpleGroupPrincipal(String name)
Creates a new group principal.
-
-
-
Constructor Detail
-
SimpleGroupPrincipal
public SimpleGroupPrincipal(String name)
Creates a new group principal.- Parameters:
name
- The name of the group principal.- Throws:
NullPointerException
- If the given name isnull
.
-
-