public static class
Acl.GroupPrincipalParser
extends Object
implements Parser<Principal>
implements Parser<Principal>
Parser used to extract a group principal of either "google" or "external" type.
By definition, accounts beginning with com.google.enterprise.cloudsearch.sdk.indexing.Acl.GOOGLE_ACCOUNT_PREFIX
are "google"
accounts.
Public Constructor Summary
Public Method Summary
Principal |
Inherited Method Summary
Public Constructors
public Acl.GroupPrincipalParser ()
Public Methods
public Principal parse (String group)
Converts group
value to Principal
representing external group or Google
group.
Parameters
group | to parse |
---|
Returns
- Converted value