lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antony Bowesman <...@teamware.com>
Subject Re: StandardTokenizerConstants in 2.3
Date Tue, 08 Apr 2008 21:47:36 GMT
> 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


Mime
View raw message