DirectoryUtil
ディレクトリやファイルの検索を簡単にできる便利ツールです。
|| search by name def r1 = {DirectoryUtil.search-by-name {url “file”}, || directory “a-1.txt”, recurse? = true } || search by proc def r2 = {DirectoryUtil.search {url “file”}, || directory {proc {u:Url}:bool def name = u.filename {return name == “c-1.txt” or name == “test1”} }, recurse? = true } |
パッケージ名:COM.CURLAP.LIB.IO