public class FS extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FS.AllFilter |
static class |
FS.FilenameRegexFilter |
static class |
FS.FileNamesFilter |
static class |
FS.IniFilter |
static class |
FS.XmlFilter |
Constructor and Description |
---|
FS() |
Modifier and Type | Method and Description |
---|---|
static boolean |
canReadDirectory(File path) |
static boolean |
canReadFile(File path) |
static void |
close(Closeable c) |
static void |
ensureDirectoryExists(File dir) |
static boolean |
isFile(File file) |
static boolean |
isXml(String filename) |
static String |
separators(String path) |
public static boolean canReadDirectory(File path)
public static boolean canReadFile(File path)
public static void close(Closeable c)
public static void ensureDirectoryExists(File dir) throws IOException
IOException
public static boolean isFile(File file)
public static boolean isXml(String filename)
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.