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 ofIndexes
.
-
-
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.
-
-
-
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.
-
-