org.opensolaris.opengrok.history
Class DirectoryHistoryParser
java.lang.Object
org.opensolaris.opengrok.history.DirectoryHistoryParser
public class DirectoryHistoryParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryHistoryParser
public DirectoryHistoryParser()
- Creates a new instance of DirectoryHistoryParser
parse
public History parse(java.io.File file,
ExternalRepository repository)
throws java.lang.Exception
- Parse the history log for the given file.
- Parameters:
file
- the filerepository
- the external repository to fetch the history from
(could be null if no external repository is used)
- Returns:
- the history of the file
- Throws:
java.lang.Exception
annotate
public Annotation annotate(java.io.File file,
java.lang.String revision,
ExternalRepository repository)
isCacheable
public boolean isCacheable()
supportsAnnotation
public boolean supportsAnnotation()