|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.iplog.IpLogGenerator
public class IpLogGenerator
Creates an Eclipse IP log in XML format.
Constructor Summary | |
---|---|
IpLogGenerator()
Create an empty generator. |
Method Summary | |
---|---|
void |
scan(Repository repo,
RevCommit startCommit,
String version)
Scan a Git repository's history to compute the changes within it. |
void |
setCharacterEncoding(String encodingName)
Set the character encoding used to write the output file. |
void |
writeTo(OutputStream out)
Dump the scanned information into an XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IpLogGenerator()
Method Detail |
---|
public void setCharacterEncoding(String encodingName)
encodingName
- the character set encoding name.public void scan(Repository repo, RevCommit startCommit, String version) throws IOException, ConfigInvalidException
repo
- the repository to scan.startCommit
- commit the IP log is needed for.version
- symbolic label for the version.
IOException
- the repository cannot be read.
ConfigInvalidException
- the .eclipse_iplog
file present at the top level of
startId
is not a valid configuration file.public void writeTo(OutputStream out) throws IOException
out
- the file stream to write to. The caller is responsible for
closing the stream upon completion.
IOException
- the stream cannot be written.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |