com.google.appengine.api.search.checkers
Class CursorChecker
- java.lang.Object
-
- com.google.appengine.api.search.checkers.CursorChecker
-
public final class CursorChecker extends java.lang.Object
Checks values ofCursor
.
-
-
Constructor Summary
Constructors Constructor and Description CursorChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.String
checkCursor(java.lang.String cursor)
Checks the cursor string if provided is not empty nor too long.
-
-
-
Method Detail
-
checkCursor
public static java.lang.String checkCursor(java.lang.String cursor)
Checks the cursor string if provided is not empty nor too long.- Parameters:
cursor
- the search cursor to check- Returns:
- the checked cursor
- Throws:
java.lang.IllegalArgumentException
- if the cursor is empty or is too long
-
-