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 |
---|---|
Iterator<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, InvalidFileStoreVersionException
FileStore
in the given directory
.directory
- IOException
InvalidFileStoreVersionException
public Iterator<RevisionHistory.HistoryElement> getHistory(@Nonnull File journal, @Nonnull String path) throws IOException
path
according to the passed
journal
.journal
- path
- IOException
Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.