net.sf.statcvs.input
Class RepositoryFileManager
java.lang.Object
net.sf.statcvs.input.RepositoryFileManager
- public class RepositoryFileManager
- extends Object
Manages a checked-out repository and provides access to
line number counts for repository files.
- Version:
- $Id: RepositoryFileManager.java,v 1.23 2003/12/12 22:11:59 cyganiak Exp $
- Author:
- Manuel Schulze
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryFileManager
public RepositoryFileManager(String pathName)
- Creates a new instance with root at
pathName
.
- Parameters:
pathName
- the root of the checked out repository
getLinesOfCode
public int getLinesOfCode(String filename)
throws NoLineCountException
- Returns the lines of code for a repository file.
- Parameters:
filename
- a file in the repository
- Returns:
- the lines of code for a repository file
- Throws:
NoLineCountException
- when the line count could not be retrieved,
for example when the file was not found.