IndexChecker (Google App Engine API for Java)

com.google.appengine.api.search.checkers

Class IndexChecker

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


  • public class IndexChecker
    extends java.lang.Object
    Checks values of Indexes.
    • Constructor Summary

      Constructors 
      Constructor and Description
      IndexChecker() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static java.lang.String checkName(java.lang.String indexName)
      Checks whether an index name is valid.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndexChecker

        public IndexChecker()
    • Method Detail

      • checkName

        public static java.lang.String checkName(java.lang.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:
        java.lang.IllegalArgumentException - if the index name is not valid.