public interface VfsSource
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(Path path)
Check if we can read on this VfsSource.
|
boolean |
canWrite(Path path)
Check if we can write on this VfsSource.
|
boolean |
createNewFile(Path path)
Create a new file.
|
boolean |
delete(Path path)
Delete a file.
|
boolean |
exists(Path path)
Check if the VfsSource exist really.
|
boolean |
isDirectory(Path path)
Check if the VfsSource is a directory
|
boolean |
isFile(Path path)
Check if the VfsSource is a file.
|
String[] |
list(Path path)
Return String Array with the names of files and folder that they exist in
this path attribute.
|
boolean |
mkdir(Path path)
Create a new directory.
|
InputStream |
openForRead(Path path)
Return InputStream object, then we can read the files.
|
OutputStream |
openForWrite(Path path)
Return OutputStream object, then we can write the file.
|
List<Path> |
search(GlobExpr globExpr,
Path path)
This method we utilized it when we want to search any file inside of the
path
|
boolean isDirectory(Path path)
path - The path attributeboolean isFile(Path path)
path - The path attributeboolean exists(Path path)
path - The path attributeboolean canWrite(Path path)
path - The path attributeboolean canRead(Path path)
path - The path attributeString[] list(Path path)
path - The path attributeInputStream openForRead(Path path)
path - The path attributeOutputStream openForWrite(Path path)
path - The path attributeList<Path> search(GlobExpr globExpr, Path path)
globExpr - object, that represent the regular expression for make
the quest.path - The path attributeboolean createNewFile(Path path)
path - The path attributeboolean mkdir(Path path)
path - The path attributeboolean delete(Path path)
path - The path attributeCopyright © 2015–2018 Bridje Framework. All rights reserved.