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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]