public class PerforceHistoryParser
extends java.lang.Object
Constructor and Description |
---|
PerforceHistoryParser() |
Modifier and Type | Method and Description |
---|---|
static History |
getRevisions(java.io.File file,
java.lang.String rev) |
protected static History |
parseChanges(java.io.Reader fileHistory)
Parses the history in the given string.
|
protected static History |
parseFileLog(java.io.Reader fileLog)
Parse file log.
|
public static History getRevisions(java.io.File file, java.lang.String rev) throws java.io.IOException
java.io.IOException
protected static History parseChanges(java.io.Reader fileHistory) throws java.io.IOException
fileHistory
- String with history to parsejava.io.IOException
- if it fails to read from the supplied readerprotected static History parseFileLog(java.io.Reader fileLog) throws java.io.IOException
fileLog
- reader to the information to parsejava.io.IOException
- If it fails to read from the supplied reader.