FilePathWrapper

The base class for wrapping / delegating file systems such as the split file system.

Methods
boolean canWrite()
boolean canWrite()
void createDirectory()
void createDirectory()
boolean createFile()
boolean createFile()
FilePath createTempFile(String suffix, boolean deleteOnExit, boolean inTempDir)
FilePath createTempFile(String suffix, boolean deleteOnExit, boolean inTempDir) throws IOException
void delete()
void delete()
boolean exists()
boolean exists()
FilePath getBase()
FilePath getBase()
FilePath getParent()
FilePath getParent()
FilePathWrapper getPath(String path)
FilePathWrapper getPath(String path)
String getPrefix()
String getPrefix()
boolean isAbsolute()
boolean isAbsolute()
boolean isDirectory()
boolean isDirectory()
long lastModified()
long lastModified()
void moveTo(FilePath newName, boolean atomicReplace)
void moveTo(FilePath newName, boolean atomicReplace)
List newDirectoryStream()
List newDirectoryStream()
InputStream newInputStream()
InputStream newInputStream() throws IOException
OutputStream newOutputStream(boolean append)
OutputStream newOutputStream(boolean append) throws IOException
FileChannel open(String mode)
FileChannel open(String mode) throws IOException
boolean setReadOnly()
boolean setReadOnly()
long size()
long size()
FilePath toRealPath()
FilePath toRealPath()
FilePath unwrap()
FilePath unwrap()
FilePath unwrap(String path)
Get the base path for the given wrapped path.
FilePath unwrap(String path)
Get the base path for the given wrapped path.
Parameters:
path - the path including the scheme prefix
Returns:
the base file path
FilePathWrapper wrap(FilePath base)
Create a wrapped path instance for the given base path.
FilePathWrapper wrap(FilePath base)
Create a wrapped path instance for the given base path.
Parameters:
base - the base path
Returns:
the wrapped path