public class SVNLogFileParser extends AbstractSimpleContentHandler<java.lang.Long,LogEntry>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SVNLogFileParser.LogEntryRunnable
Callback which is invoked for each log-entry to allow
streaming handling of large svn-log queries.
|
characters, configs, currentTags| Constructor and Description |
|---|
SVNLogFileParser(java.lang.String[] branches)
Construct the parser with the list of branches that we are looking at.
|
SVNLogFileParser(java.lang.String[] branches,
SVNLogFileParser.LogEntryRunnable runnable,
int pathLimit)
Construct the parser with the list of branches and a runnable that is
invoked for each log-entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Internal method used for XML parsing
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Internal method used for XML parsing
|
adjustParser, characters, error, fatalError, getConfigs, parseContent, parseContent, warningpublic SVNLogFileParser(java.lang.String[] branches)
branches - An array of branch-names.public SVNLogFileParser(java.lang.String[] branches,
SVNLogFileParser.LogEntryRunnable runnable,
int pathLimit)
branches - An array of branch-names.runnable - A SVNLogFileParser.LogEntryRunnable runnable which is invoked
once for each log-entry.pathLimit - The maximum number of path-elements that are stored.
This can be used to limit the amount of memory
that is used if the actual affected path names are
not important.public void startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
startElement in interface org.xml.sax.ContentHandlerstartElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXExceptionpublic void endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
throws org.xml.sax.SAXException
endElement in interface org.xml.sax.ContentHandlerendElement in class org.xml.sax.helpers.DefaultHandlerorg.xml.sax.SAXException