public abstract class TreeUtils extends Object
| 构造器和说明 |
|---|
TreeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String[] |
scan(File directory,
int maxDepth) |
static String[] |
scan(File directory,
int maxDepth,
boolean hidden,
boolean directoryOnly) |
static String[] |
scan(File directory,
int maxDepth,
boolean hidden,
TreeMatcher treeMatcher) |
static void |
scanAndSave(File directory,
int maxDepth,
boolean hidden,
boolean directoryOnly,
File file) |
static void |
scanAndSave(File directory,
int maxDepth,
boolean hidden,
boolean directoryOnly,
OutputStream output) |
static void |
scanAndSave(File directory,
int maxDepth,
boolean hidden,
TreeMatcher treeMatcher,
File file) |
static void |
scanAndSave(File directory,
int maxDepth,
boolean hidden,
TreeMatcher treeMatcher,
OutputStream output) |
static void |
scanAndSave(File directory,
int maxDepth,
File file) |
static void |
scanAndSave(File directory,
int maxDepth,
OutputStream output) |
public static String[] scan(File directory, int maxDepth) throws IOException
IOExceptionpublic static String[] scan(File directory, int maxDepth, boolean hidden, boolean directoryOnly) throws IOException
IOExceptionpublic static String[] scan(File directory, int maxDepth, boolean hidden, TreeMatcher treeMatcher) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, OutputStream output) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, File file) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, boolean hidden, boolean directoryOnly, OutputStream output) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, boolean hidden, boolean directoryOnly, File file) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, boolean hidden, TreeMatcher treeMatcher, OutputStream output) throws IOException
IOExceptionpublic static void scanAndSave(File directory, int maxDepth, boolean hidden, TreeMatcher treeMatcher, File file) throws IOException
IOExceptionCopyright © 2022. All rights reserved.