Class CursorChecker


  • public final class CursorChecker
    extends Object
    Checks values of Cursor.
    • Constructor Detail

      • CursorChecker

        public CursorChecker()
    • 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