Package org.eclipse.jetty.start
Class FS
java.lang.Object
org.eclipse.jetty.start.FS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanReadDirectory(Path path) static booleancanReadFile(Path path) static booleanstatic voidstatic voidcopyZipContents(Path root, Path destination) static booleancreateNewFile(Path path) static booleanstatic voidstatic booleanstatic voidstatic voidextractZip(Path archive, Path destination) static booleanisPropertyFile(String filename) static booleanisValidDirectory(Path path) static booleanstatic Stringseparators(String path) static Pathstatic PathtoRealPath(Path path) static StringtoRelativePath(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
-