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 booleancreateNewFile(Path path) static booleanstatic voidstatic booleanstatic 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
-