Re: Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
On Monday, April 29, 2013 6:04:41 PM UTC+7, Meikel Brandmeyer (kotarak) 
wrote:
>
> Subclasses are accessed with $. java.text.Normalizer$Form/NFD Should do 
> the trick. Or (import 'java.text.Normalizer$Form) and Normalizer$Form/NFD.
>
> Kind regards
> Meikel
>
> Great help. Thanks a lot

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Failed to import java.text.Normalizer.Form

2013-04-29 Thread Meikel Brandmeyer (kotarak)
Subclasses are accessed with $. java.text.Normalizer$Form/NFD Should do the 
trick. Or (import 'java.text.Normalizer$Form) and Normalizer$Form/NFD.

Kind regards
Meikel

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Failed to import java.text.Normalizer.Form

2013-04-29 Thread Hoàng Minh Thắng
I want to work with `java.text.Normalizer/normalize` which require some
constansts named NFD, NFC etc. I could import java.text.Normalizer
with this:
```
(import java.text.Normalizer)
```
but couldn't figure how to import and use the constansts from
http://docs.oracle.com/javase/6/docs/api/java/text/Normalizer.Form.html#NFC
Using `(import 'java.text.Normalizer.Form)` yelled an
`ClassNotFoundException`.
Sorry if the question is stupid. I know nothing about Java.


signature.asc
Description: PGP signature