Java Doc for CVSEntry.java in  » Source-Control » jcvsweb » com » ice » cvsc » 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 » Source Control » jcvsweb » com.ice.cvsc 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ice.cvsc.CVSEntry

CVSEntry
public class CVSEntry extends Object implements Cloneable(Code)
CVSEntry implements the concept of a CVS Entry. Traditionally, a CVS Entry is a line in an 'Entries' file in a 'CVS' admin directory. A CVSEntry represents a CVS file that is checked in or being checked in. CVSEntry objects contain all of the relavent information about a CVS file, such as its name, check-out time, modification status, local pathname, repository, etc.
version:
   $Revision: 2.11 $
author:
   Timothy Gerard Endres, time@ice.com.
See Also:   CVSClient
See Also:   CVSProject
See Also:   CVSEntryVector

Inner Class :public class ChildEvent
Inner Class :public interface ChildEventListener

Field Summary
final public static  StringRCS_ID
    
final public static  StringRCS_REV
    

Constructor Summary
public  CVSEntry()
    

Method Summary
public  voidaddAllSubTreeEntries(CVSEntryVector vector)
     Adds all of the file entries in this directory entry, as well as every file entry in every subdirectory entry recursively.
public  voidaddChildEventListener(ChildEventListener l)
    
public  voidaddFileEntries(CVSEntryVector vector)
     Adds all of the file entries in this directory entry to the vector supplied.
public  voidappendEntry(CVSEntry entry)
    
public  StringcompleteTimestamp()
    
public  StringdumpString()
    
public  StringdumpString(String prefix)
    
protected  voidfireChildAddedEvent(ChildEvent event)
    
protected  voidfireChildRemovedEvent(ChildEvent event)
    
public  StringgetAdminEntryLine()
    
public  StringgetArgumentName()
    
public  CVSTimestampgetCVSTime()
     The cached CVSTimestamp (a subclass of Date), or null.
public  StringgetDate()
    
public  CVSEntryVectorgetEntryList()
    
public  StringgetFullName()
    
public  StringgetFullPathName()
     This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". This will return the same string as getFullName(), except that the "./" prefix is removed.
public  StringgetLocalDirectory()
    
public  StringgetLocalPathName()
     This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". This will return the same string as getLocalDirectory(), except that the "./" prefix is removed.
public  CVSModegetMode()
    
public  StringgetModeLine()
    
public  StringgetName()
    
public  StringgetOptions()
    
public  StringgetRepository()
    
public  StringgetRepositoryName()
    
public  StringgetServerEntryLine(boolean exists, boolean isModified)
    
public  StringgetTag()
    
public  StringgetTerseTimestamp()
    
public  StringgetTimestamp()
    
public  StringgetVersion()
    
public  booleanisBinary()
    
public  booleanisDirectory()
     Provides the directory-ness of this entry.
public  booleanisDirty()
    
public  booleanisForceModified()
    
public  booleanisForceNoExistence()
    
public  booleanisInConflict()
    
public  booleanisLocalFileModified(File localFile)
    
public  booleanisNewUserFile()
    
public  booleanisNoUserFile()
    
public  booleanisToBeRemoved()
    
public  booleanisValid()
    
public  CVSEntrylocateEntry(String name)
    
public  voidmarkForRemoval(boolean markState)
    
public  StringpadString(String str, int width)
    
public  booleanparseEntryLine(String parseLine, boolean fromServer)
    
public  voidremoveAllEntries()
    
public  voidremoveChildEventListener(ChildEventListener l)
    
public  booleanremoveEntry(CVSEntry entry)
    
public  booleanremoveEntry(String entryName)
    
public  voidsetConflict(File entryFile)
     NOTERefer to note under setTimestamp( File ) pertaining to the resolution of file times and CVS timestamps.
public  voidsetDate(String date)
    
public  voidsetDirectoryEntryList(CVSEntryVector entryList)
     This method will make this entry a directory entry and establish its entry list with the list passed in the parameter.
public  voidsetDirty(boolean dirty)
    
public  voidsetForceModified(boolean forceModified)
    
public  voidsetForceNoExistence(boolean forceNoExistence)
    
public  voidsetLocalDirectory(String directory)
    
public  voidsetMode(CVSMode mode)
    
public  voidsetName(String name)
    
public  voidsetNewUserFile(boolean isNew)
    
public  voidsetNoUserFile(boolean isNo)
    
public  voidsetOptions(String options)
    
public  voidsetRepository(String repository)
    
public  voidsetTag(String tag)
    
public  voidsetTimestamp(File entryFile)
     Set the timestamp of this entry to that of the modification time of the file passed to this method. NOTE There is an issue with timestamps between Java and CVS.
public  voidsetTimestamp(String timeStamp)
    
public  voidsetToBeRemoved(boolean toBe)
    
public  voidsetValid(boolean valid)
    
public  voidsetVersion(String version)
    
public  StringtoString()
    

Field Detail
RCS_ID
final public static String RCS_ID(Code)



RCS_REV
final public static String RCS_REV(Code)




Constructor Detail
CVSEntry
public CVSEntry()(Code)




Method Detail
addAllSubTreeEntries
public void addAllSubTreeEntries(CVSEntryVector vector)(Code)
Adds all of the file entries in this directory entry, as well as every file entry in every subdirectory entry recursively.
Parameters:
  vector - The vector to add the file entries to.



addChildEventListener
public void addChildEventListener(ChildEventListener l)(Code)



addFileEntries
public void addFileEntries(CVSEntryVector vector)(Code)
Adds all of the file entries in this directory entry to the vector supplied.
Parameters:
  vector - The vector to add the file entries to.



appendEntry
public void appendEntry(CVSEntry entry)(Code)



completeTimestamp
public String completeTimestamp()(Code)



dumpString
public String dumpString()(Code)



dumpString
public String dumpString(String prefix)(Code)



fireChildAddedEvent
protected void fireChildAddedEvent(ChildEvent event)(Code)



fireChildRemovedEvent
protected void fireChildRemovedEvent(ChildEvent event)(Code)



getAdminEntryLine
public String getAdminEntryLine()(Code)



getArgumentName
public String getArgumentName()(Code)



getCVSTime
public CVSTimestamp getCVSTime()(Code)
The cached CVSTimestamp (a subclass of Date), or null.



getDate
public String getDate()(Code)



getEntryList
public CVSEntryVector getEntryList()(Code)



getFullName
public String getFullName()(Code)



getFullPathName
public String getFullPathName()(Code)
This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". This will return the same string as getFullName(), except that the "./" prefix is removed. This is preferable for building file path names, hence the name.



getLocalDirectory
public String getLocalDirectory()(Code)



getLocalPathName
public String getLocalPathName()(Code)
This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". This will return the same string as getLocalDirectory(), except that the "./" prefix is removed. This is preferable for building file path names, hence the name.



getMode
public CVSMode getMode()(Code)



getModeLine
public String getModeLine()(Code)



getName
public String getName()(Code)



getOptions
public String getOptions()(Code)



getRepository
public String getRepository()(Code)



getRepositoryName
public String getRepositoryName()(Code)



getServerEntryLine
public String getServerEntryLine(boolean exists, boolean isModified)(Code)



getTag
public String getTag()(Code)



getTerseTimestamp
public String getTerseTimestamp()(Code)



getTimestamp
public String getTimestamp()(Code)



getVersion
public String getVersion()(Code)



isBinary
public boolean isBinary()(Code)



isDirectory
public boolean isDirectory()(Code)
Provides the directory-ness of this entry. True if this entry is a directory, else false.



isDirty
public boolean isDirty()(Code)



isForceModified
public boolean isForceModified()(Code)



isForceNoExistence
public boolean isForceNoExistence()(Code)



isInConflict
public boolean isInConflict()(Code)



isLocalFileModified
public boolean isLocalFileModified(File localFile)(Code)



isNewUserFile
public boolean isNewUserFile()(Code)



isNoUserFile
public boolean isNoUserFile()(Code)



isToBeRemoved
public boolean isToBeRemoved()(Code)



isValid
public boolean isValid()(Code)



locateEntry
public CVSEntry locateEntry(String name)(Code)



markForRemoval
public void markForRemoval(boolean markState)(Code)



padString
public String padString(String str, int width)(Code)



parseEntryLine
public boolean parseEntryLine(String parseLine, boolean fromServer) throws ParseException(Code)



removeAllEntries
public void removeAllEntries()(Code)



removeChildEventListener
public void removeChildEventListener(ChildEventListener l)(Code)



removeEntry
public boolean removeEntry(CVSEntry entry)(Code)



removeEntry
public boolean removeEntry(String entryName)(Code)



setConflict
public void setConflict(File entryFile)(Code)
NOTERefer to note under setTimestamp( File ) pertaining to the resolution of file times and CVS timestamps.



setDate
public void setDate(String date)(Code)



setDirectoryEntryList
public void setDirectoryEntryList(CVSEntryVector entryList)(Code)
This method will make this entry a directory entry and establish its entry list with the list passed in the parameter. This is the only means of making a CVSEntry become a directory entry.
Parameters:
  entryList - The directory's entry list.



setDirty
public void setDirty(boolean dirty)(Code)



setForceModified
public void setForceModified(boolean forceModified)(Code)



setForceNoExistence
public void setForceNoExistence(boolean forceNoExistence)(Code)



setLocalDirectory
public void setLocalDirectory(String directory)(Code)



setMode
public void setMode(CVSMode mode)(Code)



setName
public void setName(String name)(Code)



setNewUserFile
public void setNewUserFile(boolean isNew)(Code)



setNoUserFile
public void setNoUserFile(boolean isNo)(Code)



setOptions
public void setOptions(String options)(Code)



setRepository
public void setRepository(String repository)(Code)



setTag
public void setTag(String tag)(Code)



setTimestamp
public void setTimestamp(File entryFile)(Code)
Set the timestamp of this entry to that of the modification time of the file passed to this method. NOTE There is an issue with timestamps between Java and CVS. Specifically, Java time uses millisecond resolution and CVS time uses second resolution. The problem arises when a file is "sync-ed" with the CVS/Entries timestamp and the file's modtime is stored with non-zero milliseconds. When we later compare the file's modtime to that of the CVSEntry's timestamp, they will differ by the milliseconds quantity. To solve this problem, we strip milliseconds from any file timestamp coming into jCVS. This forces all of the timestamps to have zero millisecond digits, which will compare properly with the CVS timestamps.



setTimestamp
public void setTimestamp(String timeStamp)(Code)



setToBeRemoved
public void setToBeRemoved(boolean toBe)(Code)



setValid
public void setValid(boolean valid)(Code)



setVersion
public void setVersion(String version)(Code)



toString
public String toString()(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.