Class PathUtil
java.lang.Object
manifold.rt.api.util.PathUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic Pathstatic Pathstatic Pathstatic InputStreamcreateInputStream(Path path, OpenOption... options) static booleancreateNewFile(Path file, FileAttribute... attrs) static OutputStreamcreateOutputStream(Path path, OpenOption... options) static BufferedReadercreateReader(Path file) static BufferedWritercreateWriter(Path path) static voidstatic voidstatic booleanexists(Path path, LinkOption... options) static Stringstatic PathgetAbsolutePath(String path) static PathgetAbsolutePath(Path path) static StringgetAbsolutePathName(String path) static StringgetAbsolutePathName(Path path) static Stringstatic booleanisDirectory(Path fileOrDir, LinkOption... options) static booleanisFile(Path path, LinkOption... options) static longlastModified(Path path, LinkOption... options) static Path[]static booleanmkdir(Path copy, FileAttribute... attrs) static booleanstatic booleanrenameTo(Path from, Path to, CopyOption... options) static booleansetWritable(Path file, boolean bWritable)
-
Constructor Details
-
PathUtil
public PathUtil()
-
-
Method Details
-
mkdirs
-
mkdir
-
getName
-
isFile
-
isDirectory
-
create
-
create
-
create
-
findToolsJar
-
getAbsolutePathName
-
getAbsolutePathName
-
getAbsolutePath
-
getAbsolutePath
-
listFiles
-
createNewFile
-
createReader
-
createWriter
-
createOutputStream
-
createInputStream
-
delete
-
delete
-
exists
-
lastModified
-
renameTo
-
canWrite
-
setWritable
-