JFlexTokenizer.java revision b645988bdc1cf4f2f82b8c00ed041ddddd822c24
12219N/A * The contents of this file are subject to the terms of the 10139N/A * Common Development and Distribution License (the "License"). 10139N/A * You may not use this file except in compliance with the License. 10139N/A * language governing permissions and limitations under the License. 17176N/A * When distributing Covered Code, include this CDDL HEADER in each 10139N/A * If applicable, add the following below this CDDL HEADER, with the 10139N/A * fields enclosed by brackets "[]" replaced with your own identifying 15291N/A * information: Portions Copyright [yyyy] [name of copyright owner] 10139N/A * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 10139N/A * Use is subject to license terms. 10139N/A * this class was created because of lucene 2.4.1 update which introduced char[] in Tokens instead of String 10640N/A * lucene 3.0.0 uses AttributeSource instead of Tokens to make things even easier :-D 10640N/A * Generally this is a "template" for all new Tokenizers, so be carefull when changing it, 10139N/A * it will impact almost ALL symbol tokenizers in OpenGrok ... 10861N/A // default jflex scanner methods and variables 14420N/A //fixme increasing below might be tricky, need more analysis 16434N/A * This will reinitalize internal AttributeImpls, or it returns false if end of input Reader ... 16472N/A * @return false if no more tokens, otherwise true