[#600] Support java.io.FilenameFilter
This commit is contained in:
parent
c078dc69e4
commit
079faf8106
2 changed files with 7 additions and 1 deletions
|
|
@ -90,6 +90,7 @@
|
|||
java.io.Console
|
||||
java.io.File
|
||||
java.io.FileFilter
|
||||
java.io.FilenameFilter
|
||||
java.io.FileNotFoundException
|
||||
java.io.InputStream
|
||||
java.io.IOException
|
||||
|
|
|
|||
|
|
@ -15,4 +15,9 @@
|
|||
(fn [{:keys [:methods]}]
|
||||
{:obj (reify java.io.FileFilter
|
||||
(accept [this f]
|
||||
((get methods 'accept) this f)))})})
|
||||
((get methods 'accept) this f)))})
|
||||
'java.io.FilenameFilter
|
||||
(fn [{:keys [:methods]}]
|
||||
{:obj (reify java.io.FilenameFilter
|
||||
(accept [this f s]
|
||||
((get methods 'accept) this f s)))})})
|
||||
|
|
|
|||
Loading…
Reference in a new issue