Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 81444 invoked from network); 8 Apr 2008 22:20:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Apr 2008 22:20:15 -0000 Received: (qmail 67011 invoked by uid 500); 8 Apr 2008 22:20:09 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 66956 invoked by uid 500); 8 Apr 2008 22:20:09 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 66945 invoked by uid 99); 8 Apr 2008 22:20:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 15:20:09 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of adb@teamware.com designates 212.226.92.15 as permitted sender) Received: from [212.226.92.15] (HELO monkey.teamware.com) (212.226.92.15) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Apr 2008 22:19:27 +0000 Received: from intrepid.teamw.com (intrepid.teamw.com [10.142.128.11]) by monkey.teamware.com (8.13.1/8.13.1) with ESMTP id m38MJVZS029600 for ; Wed, 9 Apr 2008 01:19:31 +0300 Received: from [10.142.3.10] ([10.142.3.10]) by nimitz.teamw.com with ESMTP id m491jt2g; 9 Apr 2008 01:19:00 +0300 Message-ID: <47FBEF72.6010300@teamware.com> Date: Wed, 09 Apr 2008 08:19:30 +1000 From: Antony Bowesman Organization: Teamware Group User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: java-dev@lucene.apache.org Subject: Re: StandardTokenizerConstants in 2.3 References: <47FAA9F1.9090902@teamware.com> <54B1D823-D69E-4EFC-B6DE-289E91AFA625@mikemccandless.com> <47FBE7F8.3000005@teamware.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (monkey.teamware.com [212.226.92.15]); Wed, 09 Apr 2008 01:19:31 +0300 (EEST) X-TWG-MailScanner-Information: See www.mailscanner.info for information X-TWG-MailScanner: Found to be clean X-TWG-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.185, required 5, autolearn=not spam, BAYES_40 -0.18) X-MailScanner-From: adb@teamware.com X-Virus-Checked: Checked by ClamAV on apache.org > But, StandardTokenizer is public? It "exports" those constants for you? Really? Sorry, but I can't find them - in 2.3.1 sources, there are no references to those statics. Javadocs have no reference to them in StandardTokenizer http://lucene.apache.org/java/2_3_1/api/org/apache/lucene/analysis/standard/StandardTokenizer.html and I can't see ALPHANUM in the Javadoc index. Eclipse cannot resolve them. Am I missing something? Antony > > Mike > > Antony Bowesman wrote: >>> But, the constants that are used by StandardTokenizer are still >>> available as static ints in the StandardTokenizer class (ie, ALPHANUM, >>> APOSTROPHE, etc.). Does that work? >> >> Problem as mentioned below is that the StandardTokenizerImpl.java is >> package private and even though the ints and string array are declared >> as public static, they are not visible. >> >> Antony --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org