lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: StandardTokenizerConstants in 2.3
Date Tue, 08 Apr 2008 21:54:17 GMT

But, StandardTokenizer is public?  It "exports" those constants for you?

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
>
>
>> Mike
>> Antony Bowesman wrote:
>>> I'm migrating from 2.1 to 2.3 and found that the public interface  
>>> StandardTokenizerConstants has gone.  It looks like the  
>>> definitions have disappeared inside the package private class  
>>> StandardTokenizerImpl.
>>>
>>> Was this intentional?  I was using these to determine the returns  
>>> values from Token.type().
>>>
>>> Antony
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message