Package org.eclipse.jetty.start
Class FS
java.lang.Object
org.eclipse.jetty.start.FS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canReadDirectory
(Path path) static boolean
canReadFile
(Path path) static boolean
static void
static boolean
createNewFile
(Path path) static boolean
static void
static boolean
static boolean
isPropertyFile
(String filename) static boolean
isValidDirectory
(Path path) static boolean
static String
separators
(String path) static Path
static Path
toRealPath
(Path path) static String
toRelativePath
(File baseDir, File path) static void
-
Constructor Details
-
FS
public FS()
-
-
Method Details
-
canReadDirectory
-
canReadFile
-
canWrite
-
close
-
createNewFile
- Throws:
IOException
-
ensureDirectoryExists
- Throws:
IOException
-
ensureDirectoryWritable
- Throws:
IOException
-
exists
-
isValidDirectory
-
isXml
-
toRelativePath
-
isPropertyFile
-
separators
-
toPath
-
touch
- Throws:
IOException
-
toRealPath
- Throws:
IOException
-