|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statsvn.input.RepositoriesBuilder
public class RepositoriesBuilder
This class receives information from the (@link net.sf.statsvn.input.SvnXmlRepositoriesFileHandler) to build a DOM-based XML structure containing the names of all repositories and associated line counts xml files. It then allows to retrieve the line counts XML file name for a given repository.
Constructor Summary | |
---|---|
RepositoriesBuilder()
Constructs the RepositoriesBuilder |
Method Summary | |
---|---|
Element |
buildRepository(String uuid,
String file)
Adds a repository to the DOM structure. |
void |
buildRoot()
Builds the DOM root. |
Document |
getDocument()
Returns the DOM object when building is complete. |
String |
getFileName(String uuid)
Retrieves the file name of the line counts xml file for a given repository. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RepositoriesBuilder()
Method Detail |
---|
public Element buildRepository(String uuid, String file)
uuid
- the uuid of the repositoryfile
- the filename for the XML line counts filepublic void buildRoot() throws ParserConfigurationException
ParserConfigurationException
public String getFileName(String uuid)
uuid
- the uuid of the repository
public Document getDocument()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |