Basically what I need to do is this
FileChannel.MapMode.READ_ONLY
I tried doing the obvious
(.. FileChannel MapMode READ_ONLY)
but that ends up throwing an exception
java.lang.NoSuchFieldException: MapMode
even the `/` notation specified as for access static fields in the [interop documentation][1] produces the same exception
(. (FileChannel/MapMode) READ_ONLY)
[1]: http://clojure.org/java_interop
以上就是How to access static inner Java class via Clojure interop?的详细内容,更多请关注web前端其它相关文章!