|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use FilePath | |
|---|---|
| com.continuent.tungsten.common.config | |
| com.continuent.tungsten.common.file | |
| Uses of FilePath in com.continuent.tungsten.common.config |
|---|
| Constructors in com.continuent.tungsten.common.config with parameters of type FilePath | |
|---|---|
TungstenPropertiesIO(FileIO fileIO,
FilePath filePath)
Creates a new instance with user-specified FileIO implementation and file path. |
|
| Uses of FilePath in com.continuent.tungsten.common.file |
|---|
| Methods in com.continuent.tungsten.common.file that return FilePath | |
|---|---|
FilePath |
FilePath.append(FilePath subPath)
Appends another path to end of this one. |
FilePath |
FilePath.append(java.util.List<java.lang.String> subElements)
Appends 0 or more path elements to the end. |
FilePath |
FilePath.append(java.lang.String subPath)
Appends a string, which may consist of one or more elements. |
| Methods in com.continuent.tungsten.common.file with parameters of type FilePath | |
|---|---|
FilePath |
FilePath.append(FilePath subPath)
Appends another path to end of this one. |
boolean |
FileIO.delete(FilePath path)
Delete path. |
boolean |
FileIO.delete(FilePath path,
boolean recursive)
Delete path and optionally any children. |
boolean |
FileIO.exists(FilePath path)
Returns true if path exists. |
boolean |
FileIO.isDirectory(FilePath path)
Returns true if path is a directory. |
boolean |
FileIO.isFile(FilePath path)
Returns true if path is an ordinary file. |
java.lang.String[] |
FileIO.list(FilePath path)
Return a list of the names of children of this path. |
java.lang.String[] |
FileIO.list(FilePath path,
java.lang.String prefix)
Return a list of the names of children of this path that start with the given prefix. |
boolean |
FileIO.mkdir(FilePath path)
Create path as a new directory. |
boolean |
FileIO.mkdirs(FilePath path)
Create path as a new directory including any intervening directories in the path. |
java.lang.String |
FileIO.read(FilePath path)
Returns the value of the contents of a file as a string using UTF-8 as charset encoding. |
java.lang.String |
FileIO.read(FilePath path,
java.lang.String charset)
Returns the value of the contents of a file as a string. |
boolean |
FileIO.readable(FilePath path)
Returns true if path is readable. |
boolean |
FileIO.writable(FilePath path)
Returns true if path is writable. |
void |
FileIO.write(FilePath path,
java.lang.String value)
Write data to file system using UTF-8 charset for file encoding and with flush only. |
void |
FileIO.write(FilePath path,
java.lang.String value,
java.lang.String charset)
Write data to file system with flush only. |
void |
FileIO.write(FilePath path,
java.lang.String value,
java.lang.String charset,
boolean fsync)
Writes a string into a file, replacing an existing contents. |
| Constructors in com.continuent.tungsten.common.file with parameters of type FilePath | |
|---|---|
FilePath(FilePath base)
Constructs a path from an existing path. |
|
FilePath(FilePath base,
java.lang.String subpath)
Constructs a path constructed from an existing path plus a string. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||