|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryFile
Represents a file in the Repository.
| Nested Class Summary | |
|---|---|
static class |
RepositoryFile.Type
Represents the main file types in the repository. |
| Method Summary | ||
|---|---|---|
long |
getLastModified()
Gets the last modified timestamp. |
|
RepositoryFile.Type |
getType()
Gets the type of the file. |
|
InputStream |
readFile()
Deprecated. use readFile(Action) or readFile(Func)
instead. |
|
void |
readFile(Action<InputStream> readCallback)
Opens up an InputStream to read from the file, and allows a
callback to perform writing actions on it. |
|
|
readFile(Func<InputStream,E> readCallback)
Opens up an InputStream to read from the file, and allows a
callback function to perform writing actions on it and return the
function's result. |
|
void |
writeFile(Action<OutputStream> writeCallback)
Opens up an OutputStream to write to the file, and allows a
callback to perform writing actions on it. |
|
| Methods inherited from interface org.eobjects.datacleaner.repository.RepositoryNode |
|---|
delete, getName, getParent, getQualifiedPath |
| Method Detail |
|---|
@Deprecated InputStream readFile()
readFile(Action) or readFile(Func)
instead.
InputStream to read from the file.
InputStream to read from the file.void writeFile(Action<OutputStream> writeCallback)
OutputStream to write to the file, and allows a
callback to perform writing actions on it.
writeCallback - a callback which should define what to write to the file.void readFile(Action<InputStream> readCallback)
InputStream to read from the file, and allows a
callback to perform writing actions on it.
readCallback - <E> E readFile(Func<InputStream,E> readCallback)
InputStream to read from the file, and allows a
callback function to perform writing actions on it and return the
function's result.
readCallback -
RepositoryFile.Type getType()
long getLastModified()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||