Code example for CrossProcessCursor

Methods: fillWindow

		public boolean commitUpdates() { 
			throw new SecurityException("cursors are read-only");
		public void fillWindow(int pos, CursorWindow window) {
			mCursor.fillWindow(pos, window);
		public CursorWindow getWindow() {
			return mCursor.getWindow();
		public boolean onMove(int oldPosition, int newPosition) {
			return mCursor.onMove(oldPosition, newPosition);
		private CrossProcessCursor mCursor;
	 * A simple lexer that recognizes the words of our restricted subset of SQL