Class FilePathWrapper
java.lang.Object
org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePath
org.dizitart.no2.mvstore.compat.v1.mvstore.fs.FilePathWrapper
- Direct Known Subclasses:
FilePathCache,FilePathEncrypt,FilePathNio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanWrite()voidbooleancreateTempFile(String var1, boolean var2) voiddelete()booleanexists()booleanbooleanlongvoidnewOutputStream(boolean var1) booleanlongsize()unwrap()
-
Constructor Details
-
FilePathWrapper
public FilePathWrapper()
-
-
Method Details
-
getPath
-
wrap
-
unwrap
-
canWrite
public boolean canWrite() -
createDirectory
public void createDirectory()- Specified by:
createDirectoryin classFilePath
-
createFile
public boolean createFile()- Specified by:
createFilein classFilePath
-
delete
public void delete() -
exists
public boolean exists() -
getParent
-
isAbsolute
public boolean isAbsolute()- Specified by:
isAbsolutein classFilePath
-
isDirectory
public boolean isDirectory()- Specified by:
isDirectoryin classFilePath
-
lastModified
public long lastModified()- Specified by:
lastModifiedin classFilePath
-
toRealPath
- Specified by:
toRealPathin classFilePath
-
newDirectoryStream
- Specified by:
newDirectoryStreamin classFilePath
-
moveTo
-
newInputStream
- Specified by:
newInputStreamin classFilePath- Throws:
IOException
-
newOutputStream
- Specified by:
newOutputStreamin classFilePath- Throws:
IOException
-
open
- Specified by:
openin classFilePath- Throws:
IOException
-
setReadOnly
public boolean setReadOnly()- Specified by:
setReadOnlyin classFilePath
-
size
public long size() -
createTempFile
- Overrides:
createTempFilein classFilePath- Throws:
IOException
-