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
public abstract class FilePathWrapper extends FilePath
-
-
Constructor Summary
Constructors Constructor Description FilePathWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanWrite()voidcreateDirectory()booleancreateFile()FilePathcreateTempFile(String var1, boolean var2)voiddelete()booleanexists()FilePathgetParent()FilePathWrappergetPath(String var1)booleanisAbsolute()booleanisDirectory()longlastModified()voidmoveTo(FilePath var1, boolean var2)List<FilePath>newDirectoryStream()InputStreamnewInputStream()OutputStreamnewOutputStream(boolean var1)FileChannelopen(String var1)booleansetReadOnly()longsize()FilePathtoRealPath()FilePathunwrap()FilePathWrapperwrap(FilePath var1)
-
-
-
Method Detail
-
getPath
public FilePathWrapper getPath(String var1)
-
wrap
public FilePathWrapper wrap(FilePath var1)
-
createDirectory
public void createDirectory()
- Specified by:
createDirectoryin classFilePath
-
createFile
public boolean createFile()
- Specified by:
createFilein classFilePath
-
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
public FilePath toRealPath()
- Specified by:
toRealPathin classFilePath
-
newDirectoryStream
public List<FilePath> newDirectoryStream()
- Specified by:
newDirectoryStreamin classFilePath
-
newInputStream
public InputStream newInputStream() throws IOException
- Specified by:
newInputStreamin classFilePath- Throws:
IOException
-
newOutputStream
public OutputStream newOutputStream(boolean var1) throws IOException
- Specified by:
newOutputStreamin classFilePath- Throws:
IOException
-
open
public FileChannel open(String var1) throws IOException
- Specified by:
openin classFilePath- Throws:
IOException
-
setReadOnly
public boolean setReadOnly()
- Specified by:
setReadOnlyin classFilePath
-
createTempFile
public FilePath createTempFile(String var1, boolean var2) throws IOException
- Overrides:
createTempFilein classFilePath- Throws:
IOException
-
-