public class RevisionHistory
extends java.lang.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(@NotNull java.io.File directory)
Create a new instance for a
ReadOnlyFileStore in the given directory . |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<RevisionHistory.HistoryElement> |
getHistory(@NotNull JournalFile journal,
@NotNull java.lang.String path)
Return the history of the node at the given
path according to the passed
journal . |
public RevisionHistory(@NotNull @NotNull java.io.File directory) throws java.io.IOException, InvalidFileStoreVersionException
ReadOnlyFileStore
in the given directory
.directory
- java.io.IOException
InvalidFileStoreVersionException
public java.util.Iterator<RevisionHistory.HistoryElement> getHistory(@NotNull @NotNull JournalFile journal, @NotNull @NotNull java.lang.String path) throws java.io.IOException
path
according to the passed
journal
.journal
- path
- java.io.IOException
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.