Class IndexChecker

java.lang.Object
com.google.appengine.api.search.checkers.IndexChecker

public class IndexChecker extends Object
Checks values of Indexes.
  • Constructor Details

    • IndexChecker

      public IndexChecker()
  • Method Details

    • checkName

      public static String checkName(String indexName)
      Checks whether an index name is valid. It must be a ASCII visible printable string of length between 1 and #MAXIMUM_INDEX_NAME_LENGTH, not start with '!', and not be of the format __.*__, which are reserved sequences for internal index names.
      Parameters:
      indexName - the index name to check
      Returns:
      the checked index name
      Throws:
      IllegalArgumentException - if the index name is not valid.