Package org.eclipse.jetty.start
Class FS
java.lang.Object
org.eclipse.jetty.start.FS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canReadDirectory
(Path path) static boolean
canReadFile
(Path path) static boolean
static void
static void
copyZipContents
(Path root, Path destination) static boolean
createNewFile
(Path path) static boolean
static void
static boolean
static void
static void
extractZip
(Path archive, Path destination) 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
-
extract
- Throws:
IOException
-
extractZip
- Throws:
IOException
-
copyZipContents
- Throws:
IOException
-