Java Doc for CvsDirectory.java in  » Web-Server » Jigsaw » org » w3c » cvs » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Server » Jigsaw » org.w3c.cvs 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.w3c.cvs.CvsDirectory

CvsDirectory
public class CvsDirectory implements LRUAble,CVS(Code)


Field Summary
final public static  StringCVSPATH_P
     Property giving the path of the cvs binary.
final public static  StringCVSROOT_P
     Property giving your CVS repository.
final public static  StringCVSWRAP_P
     Property giving the path of the cvswrapper.
protected static  Hashtablecache
     Our cache of existing CVS managers.
protected static  intcachesize
     Our recommended cache size.
protected  booleanclean
     Has this directory manager been cleaned up (removed from cache).
protected  longcvscheck_stamp
     The time at which we last checked the cvs status of that directory.
 Stringcvspath
    
final public static  Stringcvspath_def
     The default CVS path.
protected  longcvsrep_stamp
     The time at which we last examined the repository for this directory.
 Stringcvsroot
    
final public static  Stringcvsroot_def
     The default CVS root path.
final public static  Stringcvswrap_def
     The default CVS wrapper path.
 Stringcvswrapper
    
public static  Propertiesdefprops
    
protected  Filedirectory
     The directory we manage.
protected  Hashtableentries
    
protected static  LRUListlru
     All CVS entries are LRU maintained too.
protected  LRUAblenext
     LRU management - next entry.
protected  LRUAbleprev
     LRU management - previous entry.
public  Propertiesprops
     The properties we use for initialization.
protected  Filerepdir
     The corresponding repository directory (when available).
protected  CvsRunnerrunner
     Our associated CvsRunner.

Constructor Summary
protected  CvsDirectory(File directory, Properties props, String cvspath, String cvsroot, String cvswrap)
     Create a new CVS manager for the given directory.
Parameters:
  directory - The directory for which a manager is to be created.
Parameters:
  props - The cvs properties.
Parameters:
  cvspath - The absolute path of the cvs program.
Parameters:
  cvsroot - The absolute path of the CVS repository.

Method Summary
public  voidadd(String names)
     Add the given file to the CVS repository.
public  voidadd(String names, String env)
     Add the given file to the CVS repository.
public  voidaddRegexp(String regexp, String env)
     Add the file matching the given regular expression to the CVS repository.
public  voidadmin(String command)
     Perform a RCS request.
protected  voidcacheLoaded()
     This directory manager is being fetched from the cache.
protected static synchronized  voidcacheUnload()
     Remove a directory manager from the cache.
protected synchronized  voidcheckDirectoryUse()
     This directory manager is about to be used for sub-directories.
protected synchronized  voidcheckDirectoryUse(String subdir)
     This directory manager is about to be used for the given sub-directory.
protected synchronized  voidcheckUse()
     This directory manager is about to be used, check it.
protected synchronized  voidcheckUse(String filename)
     That file in the directory is about to be used, check its status.
public  voidcommit(String names, String msg, String env)
     Commit pending actions on given file.
public  voidcommit(String file, String msg, String env)
     Commit pending actions on given file.
public  voidcommit(String names, String msg)
     Commit pending actions on given file.
public  voidcommit(String file, String msg)
     Commit pending actions on given file.
public  voidcommit(String msg)
     Commit pending actions to all that directory content.
public  voidcommit(String msg, String env)
     Commit pending actions to all that directory content.
public  voidcommitRegexp(String regexp, String comment, String env)
     Commit pending actions on files matching the given regular expression.
Parameters:
  regexp - The regular expresion.
 FilecomputeRepositoryDirectory(File dir)
    
protected synchronized  voidcreateDirectoryEntry(long timestamp, String name, int status)
    
protected synchronized  voidcreateFileEntry(long timestamp, String name, int status)
    
public  Stringdiff(String filename)
     Get the diff of given file against repository.
Parameters:
  filename - The name of the file to diff.
public  voiddisplay(PrintStream prt)
     Display the status of the entries in that directory.
public  voidget(String path)
    
protected  String[]getCvsDefaults()
    
protected  String[]getCvsWrapper()
    
public  FilegetDirectory()
     Get the directory controlled by this manager.
protected  CvsEntrygetDirectoryEntry(String filename)
     Look for a sub-directory entry.
public  intgetDirectoryStatus(String subdir)
     Get a sub-directory status.
Parameters:
  subdir - The name of the subdirectory.
public  intgetDirectoryStatus(String subdir, boolean update)
     Get a sub-directory status.
Parameters:
  subdir - The name of the subdirectory.
Parameters:
  update - If true update all directory entries.
protected  CvsEntrygetFileEntry(String filename)
     Look for a file entry.
public static synchronized  CvsDirectorygetManager(File directory, Properties props, String cvspath, String cvsroot, String cvswrap)
     Get a CvsDirectory.
Parameters:
  directory - The CVS directory.
Parameters:
  props - The cvs properties.
Parameters:
  cvspath - The absolute path of the cvs program.
Parameters:
  cvsroot - The absolute path of the CVS repository.
public static  CvsDirectorygetManager(File directory)
     Get a CvsDirectory.
public static  CvsDirectorygetManager(File directory, Properties props)
    
Parameters:
  directory - The CVS directory.
Parameters:
  props - The cvs properties.
protected static  CvsDirectorygetManager(CvsDirectory father, File dir)
    
Parameters:
  father - The father CvsDirectory.
Parameters:
  directory - The CVS directory.
public  LRUAblegetNext()
     LRU management - Get next node.
public  LRUAblegetPrev()
     LRU management - Get previous node.
public  EnumerationlistDirectories()
     List available sub-directories of that directory. This method will list of possible directories.
public  EnumerationlistFiles()
     List all available file entries in that directory.
public  Stringlog(String filename)
     Get the log associated to the given file.
public static  voidmain(String args)
    
protected  booleanneedsUpdate()
    
public  voidrefresh()
     Refresh the file entries for that directory.
protected  voidrefresh(String filename)
     Refresh the file entries for that filename.
protected  voidrefreshRevision(String filename)
     Refresh the file entry revision number for that filename.
protected  voidrefreshStatus(String filename)
     Refresh the file entry status for that filename.
public  voidremove(String names, String msg, String env)
     Remove the given file from the repository.
protected  voidremoveFileEntry(String filename)
    
public  voidrevert(String filename, String revision, String msg, String env)
     Revert the file, make the given revision the current one.
public  voidrevert(String filename, OutputStream out, String revision, String env)
     Revert the file, make the given revision the current one.
  • First remove the file
  • perform a cvs update -p -r

  • Parameters:
      filename - The name of the file to revert.
    Parameters:
      revision - The revision number to get.
    Parameters:
      out - The output stream.
public  Stringrevision(String filename)
     Get the revision number of the given file.
public  voidsetNext(LRUAble next)
     LRU management - Set next node.
public  voidsetPrev(LRUAble prev)
     LRU management - Set previous node.
public  intstatus(String filename, boolean refresh)
     Get the status of a file entry.
public  intstatus(String filename)
     Get the status of a file entry.
Parameters:
  filename - The file whose status is to be fetched.
public static  StringstatusToString(int st)
    
public  StringstickyOptions(String filename)
     Get the Sticky Options of the given file.
public  voidupdate(String files)
     Update these files from the repository.
public  voidupdate(String file)
     Update this file from the repository.
public  voidupdate()
     Update all that directory's content.
public  voidupdateDirectory(String subdir)
     Check out, or update a sub-directory.
public  voidupdateRegexp(String regexp)
     Update thes files matching the given regular expression from the repository.
public static  voidusage()
    

Field Detail
CVSPATH_P
final public static String CVSPATH_P(Code)
Property giving the path of the cvs binary. This property should be set to the absolute path to the cvs command in your local environment.

This property defaults to /usr/local/bin/cvs.




CVSROOT_P
final public static String CVSROOT_P(Code)
Property giving your CVS repository. This property should be set to the absolute path of your repository.

This property defaults to /afs/w3.org/pub/WWW.




CVSWRAP_P
final public static String CVSWRAP_P(Code)
Property giving the path of the cvswrapper. Because CVS can't run without being in the right directory, this classes use a shell script wrapper to issue cvs commands, that will change directory appropriately.

You should have gotten this wrapper in the distribution bin directory.

This property defaults to /afs/w3.org/usr/abaird/Jigsaw/bin/cvs_wrapper.




cache
protected static Hashtable cache(Code)
Our cache of existing CVS managers. Maps absolute directory names to appropriate CvsDirectory instance.



cachesize
protected static int cachesize(Code)
Our recommended cache size.



clean
protected boolean clean(Code)
Has this directory manager been cleaned up (removed from cache).



cvscheck_stamp
protected long cvscheck_stamp(Code)
The time at which we last checked the cvs status of that directory.



cvspath
String cvspath(Code)



cvspath_def
final public static String cvspath_def(Code)
The default CVS path.



cvsrep_stamp
protected long cvsrep_stamp(Code)
The time at which we last examined the repository for this directory.



cvsroot
String cvsroot(Code)



cvsroot_def
final public static String cvsroot_def(Code)
The default CVS root path.



cvswrap_def
final public static String cvswrap_def(Code)
The default CVS wrapper path.



cvswrapper
String cvswrapper(Code)



defprops
public static Properties defprops(Code)



directory
protected File directory(Code)
The directory we manage.



entries
protected Hashtable entries(Code)
Known CVS entries (files)



lru
protected static LRUList lru(Code)
All CVS entries are LRU maintained too.



next
protected LRUAble next(Code)
LRU management - next entry.



prev
protected LRUAble prev(Code)
LRU management - previous entry.



props
public Properties props(Code)
The properties we use for initialization.



repdir
protected File repdir(Code)
The corresponding repository directory (when available).



runner
protected CvsRunner runner(Code)
Our associated CvsRunner.




Constructor Detail
CvsDirectory
protected CvsDirectory(File directory, Properties props, String cvspath, String cvsroot, String cvswrap) throws CvsException(Code)
Create a new CVS manager for the given directory.
Parameters:
  directory - The directory for which a manager is to be created.
Parameters:
  props - The cvs properties.
Parameters:
  cvspath - The absolute path of the cvs program.
Parameters:
  cvsroot - The absolute path of the CVS repository.
Parameters:
  cvswrap - The absolute path of the cvs wrapper program
exception:
  CvsException - If some initialisation failed




Method Detail
add
public void add(String names) throws CvsException(Code)
Add the given file to the CVS repository. The addition will have to be commited through a commit of the same file before taking effect.
Parameters:
  names - The name of the files to add.
exception:
  CvsException - If some CVS error occurs during the process.



add
public void add(String names, String env) throws CvsException(Code)
Add the given file to the CVS repository. The addition will have to be commited through a commit of the same file before taking effect.
Parameters:
  names - The name of the files to add.
Parameters:
  env - The extra env to use during the process.
exception:
  CvsException - If some CVS error occurs during the process.



addRegexp
public void addRegexp(String regexp, String env) throws CvsException(Code)
Add the file matching the given regular expression to the CVS repository. The addition will have to be commited through a commit of the same file before taking effect.
Parameters:
  regexp - The regular expression.
Parameters:
  env - The extra env to use during the process.
exception:
  CvsException - If some CVS error occurs during the process.



admin
public void admin(String command) throws CvsException(Code)
Perform a RCS request.
Parameters:
  command - the rcs command splitted in a string array.
exception:
  CvsException - If some CVS error occurs during that process.



cacheLoaded
protected void cacheLoaded() throws CvsException(Code)
This directory manager is being fetched from the cache. Perform any action before we return it back to the user.
exception:
  CvsException - If some CVS action fails during reinitialization.



cacheUnload
protected static synchronized void cacheUnload()(Code)
Remove a directory manager from the cache. Clear al references to other objects in order to free up memory even if the caller maintains a pointer to the manager.



checkDirectoryUse
protected synchronized void checkDirectoryUse() throws CvsException(Code)
This directory manager is about to be used for sub-directories.
exception:
  CvsException - If a CVS error occurs.



checkDirectoryUse
protected synchronized void checkDirectoryUse(String subdir) throws CvsException(Code)
This directory manager is about to be used for the given sub-directory. (Really really faster than checkDirectoryUse())
exception:
  CvsException - If a CVS error occurs.



checkUse
protected synchronized void checkUse() throws CvsException(Code)
This directory manager is about to be used, check it.
exception:
  CvsException - If some CVS error occurs in that process.



checkUse
protected synchronized void checkUse(String filename) throws CvsException(Code)
That file in the directory is about to be used, check its status.
Parameters:
  filename - The name of the entry that is about to be used.
exception:
  CvsException - If a CVS error occurs.



commit
public void commit(String names, String msg, String env) throws CvsException(Code)
Commit pending actions on given file.
Parameters:
  names - The name of the files to commit.
Parameters:
  msg - The associated message.
Parameters:
  env - The extra env to use during commit.
exception:
  CvsException - If some error occured during the CVS process.



commit
public void commit(String file, String msg, String env) throws CvsException(Code)
Commit pending actions on given file.
Parameters:
  file - The file to commit.
Parameters:
  msg - The associated message.
Parameters:
  env - The extra env to use during commit.
exception:
  CvsException - If some error occured during the CVS process.



commit
public void commit(String names, String msg) throws CvsException(Code)
Commit pending actions on given file.
Parameters:
  names - The name of the files to commit.
Parameters:
  msg - The associated message.
exception:
  CvsException - If some error occured during the CVS process.



commit
public void commit(String file, String msg) throws CvsException(Code)
Commit pending actions on given file.
Parameters:
  file - The file to commit.
Parameters:
  msg - The associated message.
exception:
  CvsException - If some error occured during the CVS process.



commit
public void commit(String msg) throws CvsException(Code)
Commit pending actions to all that directory content.
Parameters:
  msg - The associated message.
exception:
  CvsException - If some CVS error occurs during the CVS process.



commit
public void commit(String msg, String env) throws CvsException(Code)
Commit pending actions to all that directory content.
Parameters:
  msg - The associated message.
Parameters:
  env - The extra environment.
exception:
  CvsException - If some CVS error occurs during the CVS process.



commitRegexp
public void commitRegexp(String regexp, String comment, String env) throws CvsException(Code)
Commit pending actions on files matching the given regular expression.
Parameters:
  regexp - The regular expresion.
Parameters:
  msg - The associated message.
Parameters:
  env - The extra env to use during commit.
exception:
  CvsException - If some error occured during the CVS process.



computeRepositoryDirectory
File computeRepositoryDirectory(File dir)(Code)



createDirectoryEntry
protected synchronized void createDirectoryEntry(long timestamp, String name, int status)(Code)



createFileEntry
protected synchronized void createFileEntry(long timestamp, String name, int status)(Code)



diff
public String diff(String filename) throws CvsException(Code)
Get the diff of given file against repository.
Parameters:
  filename - The name of the file to diff. The diffs has a String, or null if the fileis in sync with the repository.
exception:
  CvsException - If some CVS exception occurs within theprocess.



display
public void display(PrintStream prt)(Code)
Display the status of the entries in that directory.
Parameters:
  prt - A print stream to print to.



get
public void get(String path) throws CvsException(Code)
Perform a cvs get
Parameters:
  path - the file (or directory) path
exception:
  CvsException - If CVS process failed.



getCvsDefaults
protected String[] getCvsDefaults()(Code)



getCvsWrapper
protected String[] getCvsWrapper()(Code)



getDirectory
public File getDirectory()(Code)
Get the directory controlled by this manager. A File instance locating the directory.



getDirectoryEntry
protected CvsEntry getDirectoryEntry(String filename)(Code)
Look for a sub-directory entry.
Parameters:
  filename - The name of the entry to look for.



getDirectoryStatus
public int getDirectoryStatus(String subdir) throws CvsException(Code)
Get a sub-directory status.
Parameters:
  subdir - The name of the subdirectory. An integer CVS status for the given sub-directory.
exception:
  CvsException - if the CVS process failed.



getDirectoryStatus
public int getDirectoryStatus(String subdir, boolean update) throws CvsException(Code)
Get a sub-directory status.
Parameters:
  subdir - The name of the subdirectory.
Parameters:
  update - If true update all directory entries. An integer CVS status for the given sub-directory.
exception:
  CvsException - if the CVS process failed.



getFileEntry
protected CvsEntry getFileEntry(String filename)(Code)
Look for a file entry.
Parameters:
  filename - The name of the entry to look for.



getManager
public static synchronized CvsDirectory getManager(File directory, Properties props, String cvspath, String cvsroot, String cvswrap) throws CvsException(Code)
Get a CvsDirectory.
Parameters:
  directory - The CVS directory.
Parameters:
  props - The cvs properties.
Parameters:
  cvspath - The absolute path of the cvs program.
Parameters:
  cvsroot - The absolute path of the CVS repository.
Parameters:
  cvswrap - The absolute path of the cvs wrapper program A CvsDirectory instance.
exception:
  CvsException - If some initialisation failed



getManager
public static CvsDirectory getManager(File directory) throws CvsException(Code)
Get a CvsDirectory.
Parameters:
  directory - The CVS directory A CvsDirectory instance.
exception:
  CvsException - If some initialisation failed



getManager
public static CvsDirectory getManager(File directory, Properties props) throws CvsException(Code)

Parameters:
  directory - The CVS directory.
Parameters:
  props - The cvs properties. A CvsDirectory instance.
exception:
  CvsException - If some initialisation failed



getManager
protected static CvsDirectory getManager(CvsDirectory father, File dir) throws CvsException(Code)

Parameters:
  father - The father CvsDirectory.
Parameters:
  directory - The CVS directory. A CvsDirectory instance.
exception:
  CvsException - If some initialisation failed



getNext
public LRUAble getNext()(Code)
LRU management - Get next node. A CvsDirectory instance.



getPrev
public LRUAble getPrev()(Code)
LRU management - Get previous node. A CvsDirectory instance.



listDirectories
public Enumeration listDirectories() throws CvsException(Code)
List available sub-directories of that directory. This method will list of possible directories. If access to the repository is permitted, it will look into that to get a list of unchecked out directories, otherwise, it will just list the checked out ones. An enumeration listing zero or more File instances.
exception:
  CvsException - If some CVS error occured while examiningthe cvs status of entries.



listFiles
public Enumeration listFiles() throws CvsException(Code)
List all available file entries in that directory. This method will list all possible files:
  • The ones that exist but are not in the repository.
  • The ones that are in the repository but not in local space.
  • All the other ones.
An enumeration listing zero or more String instances.
exception:
  CvsException - If some CVS error occured while examiningthe cvs status of entries.



log
public String log(String filename) throws CvsException(Code)
Get the log associated to the given file.
Parameters:
  filename - The name of the file whose log is to be fetched.
exception:
  CvsException - If some CVS error occurs in the process.



main
public static void main(String args)(Code)



needsUpdate
protected boolean needsUpdate()(Code)
Does this directory needs some CVS update ?



refresh
public void refresh() throws CvsException(Code)
Refresh the file entries for that directory.
exception:
  CvsException - If the underlying CVS command failed.



refresh
protected void refresh(String filename) throws CvsException(Code)
Refresh the file entries for that filename.
exception:
  CvsException - If the underlying CVS command failed.



refreshRevision
protected void refreshRevision(String filename) throws CvsException(Code)
Refresh the file entry revision number for that filename.
exception:
  CvsException - If the underlying CVS command failed.



refreshStatus
protected void refreshStatus(String filename) throws CvsException(Code)
Refresh the file entry status for that filename.
exception:
  CvsException - If the underlying CVS command failed.



remove
public void remove(String names, String msg, String env) throws CvsException(Code)
Remove the given file from the repository.
Parameters:
  names - The files to be removed.
exception:
  CvsException - If some CVS error occurs during that process.



removeFileEntry
protected void removeFileEntry(String filename)(Code)



revert
public void revert(String filename, String revision, String msg, String env) throws CvsException(Code)
Revert the file, make the given revision the current one.
  • First remove the file
  • perform a cvs update -p -r

  • Parameters:
      filename - The name of the file to revert.
    Parameters:
      revision - The revision number to get.
    Parameters:
      msg - The associated message.
    Parameters:
      env - The extra environment.
    exception:
      CvsException - If some CVS error occurs during the CVS process.



revert
public void revert(String filename, OutputStream out, String revision, String env) throws CvsException(Code)
Revert the file, make the given revision the current one.
  • First remove the file
  • perform a cvs update -p -r

  • Parameters:
      filename - The name of the file to revert.
    Parameters:
      revision - The revision number to get.
    Parameters:
      out - The output stream. (reverted file will be written in)
    Parameters:
      env - The extra environment.
    exception:
      CvsException - If some CVS error occurs during the CVS process.



revision
public String revision(String filename) throws CvsException(Code)
Get the revision number of the given file.
Parameters:
  filename - The File name A String instance
exception:
  CvsException - if some CVS errors occurs



setNext
public void setNext(LRUAble next)(Code)
LRU management - Set next node. A CvsDirectory instance.



setPrev
public void setPrev(LRUAble prev)(Code)
LRU management - Set previous node. A CvsDirectory instance.



status
public int status(String filename, boolean refresh) throws CvsException(Code)
Get the status of a file entry.
Parameters:
  filename - The file whose status is to be fetched.
Parameters:
  refresh - Should we refresh the status? A integer status indicating the CVS status of that file withinthe repository.
exception:
  CvsException - If some CVS error occured while examiningthe cvs status of entries.



status
public int status(String filename) throws CvsException(Code)
Get the status of a file entry.
Parameters:
  filename - The file whose status is to be fetched. A integer status indicating the CVS status of that file withinthe repository.
exception:
  CvsException - If some CVS error occured while examiningthe cvs status of entries.



statusToString
public static String statusToString(int st)(Code)



stickyOptions
public String stickyOptions(String filename) throws CvsException(Code)
Get the Sticky Options of the given file.
Parameters:
  filename - The File name A String instance
exception:
  CvsException - if some CVS errors occurs



update
public void update(String files) throws CvsException(Code)
Update these files from the repository.
Parameters:
  files - The name of the files to update (as a String array).
exception:
  CvsException - If CVS process failed.



update
public void update(String file) throws CvsException(Code)
Update this file from the repository.
Parameters:
  file - The name of the file to update (as a String).
exception:
  CvsException - If CVS process failed.



update
public void update() throws CvsException(Code)
Update all that directory's content. (not recursivly).
exception:
  CvsException - If some CVS error occured during update.



updateDirectory
public void updateDirectory(String subdir) throws CvsException(Code)
Check out, or update a sub-directory.
Parameters:
  subdir - The sub directory to update.
exception:
  CvsException - If the CVS process failed.



updateRegexp
public void updateRegexp(String regexp) throws CvsException(Code)
Update thes files matching the given regular expression from the repository.
Parameters:
  files - The name of the files to update (as a String array).
exception:
  CvsException - If CVS process failed.



usage
public static void usage()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.