public class RevisionHistory extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RevisionHistory.HistoryElement
Representation of a point in time for a given node.
|
| Constructor and Description |
|---|
RevisionHistory(File directory)
Create a new instance for a
FileStore in the given directory. |
| Modifier and Type | Method and Description |
|---|---|
Iterable<RevisionHistory.HistoryElement> |
getHistory(File journal,
String path)
Return the history of the node at the given
path according to the passed
journal. |
public RevisionHistory(@Nonnull File directory) throws IOException
FileStore in the given directory.directory - IOExceptionpublic Iterable<RevisionHistory.HistoryElement> getHistory(@Nonnull File journal, @Nonnull String path) throws IOException
path according to the passed
journal.journal - path - IOExceptionCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.