CursorChecker (Google App Engine API for Java)

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.
    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

App Engine standard environment for Java