Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 of `Cursor`.

Field Summary
`static int` | `MAXIMUM_CURSOR_LENGTH` The maximum length of a cursor.

Constructor Summary
`CursorChecker()`

Method Summary
`static java.lang.String` | `checkCursor(java.lang.String cursor)` Checks the cursor string if provided is not empty nor too long.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### MAXIMUM_CURSOR_LENGTH

    public static final int MAXIMUM_CURSOR_LENGTH

  The maximum length of a cursor.

  See Also:
    Constant Field Values

Constructor Detail

### CursorChecker

    public CursorChecker()

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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD