Acl.UserPrincipalParser

public static class Acl.UserPrincipalParser extends Object
implements Parser<Principal>

Parser used to extract a user 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
parse(String user)
Parses input String to required type.

Inherited Method Summary

Public Constructors

public Acl.UserPrincipalParser ()

Public Methods

public Principal parse (String user)

Parses input String to required type.

Parameters
user to parse
Returns
  • Converted value

Send feedback about...

Cloud Search
Cloud Search