public class FSDirectory
extends java.io.File
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
FSDirectory(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
find(java.lang.String suffix)
Returns a list of files, with directories processed recursively,
collecting files with the suffix of
suffix (or all files if
suffix is null. |
java.util.List<java.io.File> |
listAll()
Returns a list of files and directories in the given directory.
|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getFreeSpace, getName, getParent, getParentFile, getPath, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURLpublic static final long serialVersionUID
public java.util.List<java.lang.String> find(java.lang.String suffix)
suffix (or all files if
suffix is null.suffix - the suffix to which to limit the find, such as ".rb"public java.util.List<java.io.File> listAll()