You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
286 B
15 lines
286 B
package com.sothr.imagetools.engine.util
|
|
|
|
import java.io.{File, FilenameFilter}
|
|
|
|
/**
|
|
* Filter directories
|
|
*
|
|
* Created by drew on 1/26/14.
|
|
*/
|
|
class DirectoryFilter extends FilenameFilter {
|
|
|
|
def accept(dir: File, name: String): Boolean = {
|
|
new File(dir, name).isDirectory
|
|
}
|
|
}
|