Class FilePathDisk
- java.lang.Object
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePath
-
- org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePathDisk
-
public class FilePathDisk extends FilePath
-
-
Constructor Summary
Constructors Constructor Description FilePathDisk()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canWrite()
void
createDirectory()
boolean
createFile()
FilePath
createTempFile(String var1, boolean var2)
void
delete()
boolean
exists()
static String
expandUserHomeDirectory(String var0)
FilePath
getParent()
FilePathDisk
getPath(String var1)
String
getScheme()
boolean
isAbsolute()
boolean
isDirectory()
long
lastModified()
void
moveTo(FilePath var1, boolean var2)
List<FilePath>
newDirectoryStream()
InputStream
newInputStream()
OutputStream
newOutputStream(boolean var1)
FileChannel
open(String var1)
boolean
setReadOnly()
long
size()
FilePathDisk
toRealPath()
-
-
-
Method Detail
-
getPath
public FilePathDisk getPath(String var1)
-
createFile
public boolean createFile()
- Specified by:
createFile
in classFilePath
-
newDirectoryStream
public List<FilePath> newDirectoryStream()
- Specified by:
newDirectoryStream
in classFilePath
-
setReadOnly
public boolean setReadOnly()
- Specified by:
setReadOnly
in classFilePath
-
toRealPath
public FilePathDisk toRealPath()
- Specified by:
toRealPath
in classFilePath
-
isDirectory
public boolean isDirectory()
- Specified by:
isDirectory
in classFilePath
-
isAbsolute
public boolean isAbsolute()
- Specified by:
isAbsolute
in classFilePath
-
lastModified
public long lastModified()
- Specified by:
lastModified
in classFilePath
-
createDirectory
public void createDirectory()
- Specified by:
createDirectory
in classFilePath
-
newOutputStream
public OutputStream newOutputStream(boolean var1) throws IOException
- Specified by:
newOutputStream
in classFilePath
- Throws:
IOException
-
newInputStream
public InputStream newInputStream() throws IOException
- Specified by:
newInputStream
in classFilePath
- Throws:
IOException
-
open
public FileChannel open(String var1) throws IOException
- Specified by:
open
in classFilePath
- Throws:
IOException
-
createTempFile
public FilePath createTempFile(String var1, boolean var2) throws IOException
- Overrides:
createTempFile
in classFilePath
- Throws:
IOException
-
-