| Package | Description |
|---|---|
| org.bridje.vfs | |
| org.bridje.vfs.impl |
| Modifier and Type | Method and Description |
|---|---|
Path |
Path.getCanonicalPath()
This method creates a new path object that does not contains the (.) and
(..) identifiers.
|
Path |
Path.getNext()
Creates a new Path object that does not contains the first element of the
current path.
|
Path |
Path.getParent()
Creates a new Path object that represents the path to the parent object
of the current path.
|
Path |
VFile.getPath()
Return the path representation of the path attribute
|
Path |
GlobExpr.globRemaining(Path path)
Obtains the path remaining of matches a path with glob syntax.
|
Path |
Path.join(Path path)
Obtains the concatenation with another path.
|
Path |
Path.join(String path)
Obtains the concatenation with a string.
|
Path |
Path.leftTrim(Path path)
Remove the given path from the current path if the given path is a prefix of this path.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Path> |
Path.iterator() |
List<Path> |
VfsSource.search(GlobExpr globExpr,
Path path)
This method we utilized it when we want to search any file inside of the
path
|
List<Path> |
FileSource.search(GlobExpr globExpr,
Path path) |
List<Path> |
CpSource.search(GlobExpr globExpr,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
VfsSource.canRead(Path path)
Check if we can read on this VfsSource.
|
boolean |
VfsService.canRead(Path path)
Check if we can read on this node.
|
boolean |
FileSource.canRead(Path path) |
boolean |
CpSource.canRead(Path path) |
boolean |
VfsSource.canWrite(Path path)
Check if we can write on this VfsSource.
|
boolean |
VfsService.canWrite(Path path)
Check if we can write on this node.
|
boolean |
FileSource.canWrite(Path path) |
boolean |
CpSource.canWrite(Path path) |
boolean |
VfsSource.createNewFile(Path path)
Create a new file.
|
boolean |
VfsService.createNewFile(Path path)
Create a new file.
|
boolean |
FileSource.createNewFile(Path path) |
boolean |
CpSource.createNewFile(Path path) |
boolean |
VfsSource.delete(Path path)
Delete a file.
|
boolean |
VfsService.delete(Path path)
Delete a file in the VFS tree.
|
boolean |
FileSource.delete(Path path) |
boolean |
CpSource.delete(Path path) |
boolean |
VfsSource.exists(Path path)
Check if the VfsSource exist really.
|
boolean |
VfsService.exists(Path path)
Check if the file exist really.
|
boolean |
FileSource.exists(Path path) |
boolean |
CpSource.exists(Path path) |
CpSource |
CpSource.findResource(Path path)
Finds a Class Path source associated with the given path.
|
boolean |
GlobExpr.globMatches(Path path)
Tests the path against a string path with glob syntax.
|
Path |
GlobExpr.globRemaining(Path path)
Obtains the path remaining of matches a path with glob syntax.
|
boolean |
VfsSource.isDirectory(Path path)
Check if the VfsSource is a directory
|
boolean |
VfsService.isDirectory(Path path)
Check if the node is a directory
|
boolean |
FileSource.isDirectory(Path path) |
boolean |
CpSource.isDirectory(Path path) |
boolean |
VfsSource.isFile(Path path)
Check if the VfsSource is a file.
|
boolean |
VfsService.isFile(Path path)
Check if the node is a file.
|
boolean |
FileSource.isFile(Path path) |
boolean |
CpSource.isFile(Path path) |
Path |
Path.join(Path path)
Obtains the concatenation with another path.
|
Path |
Path.leftTrim(Path path)
Remove the given path from the current path if the given path is a prefix of this path.
|
String[] |
VfsSource.list(Path path)
Return String Array with the names of files and folder that they exist in
this path attribute.
|
String[] |
VfsService.list(Path path)
Return String Array with the names of files and folder that they exist in
this path attribute.
|
String[] |
FileSource.list(Path path) |
String[] |
CpSource.list(Path path) |
boolean |
VfsSource.mkdir(Path path)
Create a new directory.
|
boolean |
VfsService.mkdir(Path path)
Create a new directory.
|
boolean |
FileSource.mkdir(Path path) |
boolean |
CpSource.mkdir(Path path) |
void |
VfsService.mount(Path path,
VfsSource source)
Mounts a new source into the given path.
|
InputStream |
VfsSource.openForRead(Path path)
Return InputStream object, then we can read the files.
|
InputStream |
VfsService.openForRead(Path path)
Return InputStream object, then we can read the files.
|
InputStream |
FileSource.openForRead(Path path) |
InputStream |
CpSource.openForRead(Path path) |
OutputStream |
VfsSource.openForWrite(Path path)
Return OutputStream object, then we can write the file.
|
OutputStream |
VfsService.openForWrite(Path path)
Return OutputStream object, then we can write the file.
|
OutputStream |
FileSource.openForWrite(Path path) |
OutputStream |
CpSource.openForWrite(Path path) |
void |
FileSource.search(GlobExpr globExpr,
File pathFile,
Path path,
List<Path> files)
Search for all the files that match the globExpr provided.
|
List<Path> |
VfsSource.search(GlobExpr globExpr,
Path path)
This method we utilized it when we want to search any file inside of the
path
|
VFile[] |
VfsService.search(GlobExpr globExpr,
Path path)
This method we utilized it when we want to search any file inside of the
path
|
List<Path> |
FileSource.search(GlobExpr globExpr,
Path path) |
List<Path> |
CpSource.search(GlobExpr globExpr,
Path path) |
void |
CpSource.search(GlobExpr globExpr,
Path path,
List<Path> files)
Search for all the files that match the globExpr provided.
|
boolean |
Path.startsWith(Path path)
Determines when ever this path starts with the given path.
|
void |
VfsService.unmount(Path path)
Unmounts the last source mounted into the given path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FileSource.search(GlobExpr globExpr,
File pathFile,
Path path,
List<Path> files)
Search for all the files that match the globExpr provided.
|
void |
CpSource.search(GlobExpr globExpr,
Path path,
List<Path> files)
Search for all the files that match the globExpr provided.
|
| Constructor and Description |
|---|
VFile(Path path)
Constructor of this class.
|
| Modifier and Type | Method and Description |
|---|---|
List<Path> |
VfsSourceWrapper.search(GlobExpr globExpr,
Path path) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
VfsSourceWrapper.canRead(Path path) |
boolean |
VfsSourceWrapper.canWrite(Path path) |
boolean |
VfsSourceWrapper.createNewFile(Path path) |
boolean |
VfsSourceWrapper.delete(Path path) |
boolean |
VfsSourceWrapper.exists(Path path) |
boolean |
VfsSourceWrapper.isDirectory(Path path) |
boolean |
VfsSourceWrapper.isFile(Path path) |
String[] |
VfsSourceWrapper.list(Path path) |
boolean |
VfsSourceWrapper.mkdir(Path path) |
InputStream |
VfsSourceWrapper.openForRead(Path path) |
OutputStream |
VfsSourceWrapper.openForWrite(Path path) |
List<Path> |
VfsSourceWrapper.search(GlobExpr globExpr,
Path path) |
| Constructor and Description |
|---|
VfsSourceWrapper(Path path,
VfsSource source) |
Copyright © 2015–2018 Bridje Framework. All rights reserved.