public class CVSRepository extends RCSRepository
datePattern, directoryName, remote, type, working| Constructor and Description |
|---|
CVSRepository() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fileHasAnnotation(java.io.File file)
Checks whether this parser can annotate files.
|
boolean |
fileHasHistory(java.io.File file) |
java.io.InputStream |
getHistoryGet(java.lang.String parent,
java.lang.String basename,
java.lang.String rev)
Get an input stream that I may use to read a speciffic version of a
named file.
|
boolean |
isRepositoryFor(java.io.File file)
Check if this it the right repository type for the given file.
|
boolean |
isWorking()
Returns true if this repository is usable in this context (for SCM
systems that use external binaries, the binary must be availabe etc)
|
protected Annotation |
parseAnnotation(java.io.Reader input,
java.lang.String fileName) |
void |
update()
Update the content in this repository by pulling the changes from the
upstream repository..
|
getDateFormatgetDatePattern, getDirectoryName, getType, isRemote, setDatePattern, setDirectoryName, setRemote, setType, setWorkingpublic boolean isWorking()
RepositoryInfoisWorking in class RepositoryInfopublic boolean isRepositoryFor(java.io.File file)
Repositoryfile - File to check if this is a repository for.public void update()
throws java.io.IOException
Repositoryjava.io.IOExceptionpublic java.io.InputStream getHistoryGet(java.lang.String parent,
java.lang.String basename,
java.lang.String rev)
Repositoryparent - the name of the directory containing the filebasename - the name of the file to getrev - the revision to getpublic boolean fileHasAnnotation(java.io.File file)
Repositorytrue if annotation is supportedpublic boolean fileHasHistory(java.io.File file)
protected Annotation parseAnnotation(java.io.Reader input, java.lang.String fileName) throws java.io.IOException
java.io.IOException