org.netbeans.lib.cvsclient
Class CVSRoot

java.lang.Object
  extended by org.netbeans.lib.cvsclient.CVSRoot

public class CVSRoot
extends java.lang.Object

CVSRoot represents the cvsroot that identifies the cvs repository's location and the means to get to it. We use following definition of cvsroot:

[:method:][[user][:password]@][hostname[:[port]]]/path/to/repository

When the method is not defined, we treat it as local or ext method depending on whether the hostname is present or not. This gives us two different formats:

1. Local format

[:method:]/path/to/repository or (:local:|:fork:)anything

2. Server format

[:method:][[user][:password]@]hostname[:[port]]/path/to/repository

There are currently 6 different methods that are implemented by 3 different connection classes.