Class CursorChecker
- java.lang.Object
-
- com.google.appengine.api.search.checkers.CursorChecker
-
-
Constructor Summary
Constructors Constructor Description CursorChecker()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcheckCursor(String cursor)Checks the cursor string if provided is not empty nor too long.
-
-
-
Method Detail
-
checkCursor
public static String checkCursor(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:
IllegalArgumentException- if the cursor is empty or is too long
-
-