|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DirectoryBrowser
| Method Summary | |
|---|---|
FileHistory |
getFileHistory(Principal principal,
java.lang.String path,
java.lang.String pegRevision)
Get the change history of the given file or directory (history of directory changes may not be supported by all SCMs). |
java.util.List<DirectorySummary> |
listDirectories(Principal principal,
java.lang.String path)
Get a summary of each directory directly under a given path |
java.util.List<FileSummary> |
listFiles(Principal principal,
java.lang.String path)
Get a summary of each file directly under a given path. |
| Method Detail |
|---|
java.util.List<FileSummary> listFiles(Principal principal,
java.lang.String path)
throws NotFoundException
path refers to a file instead of a directory,
an empty is returned.
principal - the principal performing this operationpath - the path to the directory whose files are required
NotFoundException - when the specified path cannot be found.
java.util.List<DirectorySummary> listDirectories(Principal principal,
java.lang.String path)
throws NotFoundException
principal - the principal performing this operationpath - the path to the directory whose directories are required
NotFoundException - when the specified path cannot be found.
FileHistory getFileHistory(Principal principal,
java.lang.String path,
java.lang.String pegRevision)
throws NotFoundException
principal - the principal performing this operationpath - the path to the file or directory in questionpegRevision - for those SCMs which support it, this is the peg revision to identify which
particular version of the file on the path is required.
NotFoundException - when the specified path cannot be found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||