|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ice.cvsc.CVSEntry
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.
CVSClient
,
CVSProject
,
CVSEntryVector
Nested Class Summary | |
class |
CVSEntry.ChildEvent
|
static interface |
CVSEntry.ChildEventListener
|
Field Summary | |
static java.lang.String |
RCS_ID
|
static java.lang.String |
RCS_REV
|
Constructor Summary | |
CVSEntry()
|
Method Summary | |
void |
addAllSubTreeEntries(CVSEntryVector vector)
Adds all of the file entries in this directory entry, as well as every file entry in every subdirectory entry recursively. |
void |
addChildEventListener(CVSEntry.ChildEventListener l)
|
void |
addFileEntries(CVSEntryVector vector)
Adds all of the file entries in this directory entry to the vector supplied. |
void |
appendEntry(CVSEntry entry)
|
java.lang.String |
completeTimestamp()
|
java.lang.String |
dumpString()
|
java.lang.String |
dumpString(java.lang.String prefix)
|
protected void |
fireChildAddedEvent(CVSEntry.ChildEvent event)
|
protected void |
fireChildRemovedEvent(CVSEntry.ChildEvent event)
|
java.lang.String |
getAdminEntryLine()
|
java.lang.String |
getArgumentName()
|
CVSTimestamp |
getCVSTime()
The cached CVSTimestamp (a subclass of Date), or null. |
java.lang.String |
getDate()
|
CVSEntryVector |
getEntryList()
|
java.lang.String |
getFullName()
|
java.lang.String |
getFullPathName()
This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". |
java.lang.String |
getLocalDirectory()
|
java.lang.String |
getLocalPathName()
This method was added when we finally decided to bite the bullet and change the naming scheme to work "correctly". |
CVSMode |
getMode()
|
java.lang.String |
getModeLine()
|
java.lang.String |
getName()
|
java.lang.String |
getOptions()
|
java.lang.String |
getRepository()
|
java.lang.String |
getRepositoryName()
|
java.lang.String |
getServerEntryLine(boolean exists,
boolean isModified)
|
java.lang.String |
getTag()
|
java.lang.String |
getTerseTimestamp()
|
java.lang.String |
getTimestamp()
|
java.lang.String |
getVersion()
|
boolean |
isBinary()
|
boolean |
isDirectory()
Provides the directory-ness of this entry. |
boolean |
isDirty()
|
boolean |
isForceModified()
|
boolean |
isForceNoExistence()
|
boolean |
isInConflict()
|
boolean |
isLocalFileModified(java.io.File localFile)
|
boolean |
isNewUserFile()
|
boolean |
isNoUserFile()
|
boolean |
isToBeRemoved()
|
boolean |
isValid()
|
CVSEntry |
locateEntry(java.lang.String name)
|
void |
markForRemoval(boolean markState)
|
java.lang.String |
padString(java.lang.String str,
int width)
|
boolean |
parseEntryLine(java.lang.String parseLine,
boolean fromServer)
|
void |
removeAllEntries()
|
void |
removeChildEventListener(CVSEntry.ChildEventListener l)
|
boolean |
removeEntry(CVSEntry entry)
|
boolean |
removeEntry(java.lang.String entryName)
|
void |
setConflict(java.io.File entryFile)
NOTERefer to note under setTimestamp( File ) pertaining to the resolution of file times and CVS timestamps. |
void |
setDate(java.lang.String date)
|
void |
setDirectoryEntryList(CVSEntryVector entryList)
This method will make this entry a directory entry and establish its entry list with the list passed in the parameter. |
void |
setDirty(boolean dirty)
|
void |
setForceModified(boolean forceModified)
|
void |
setForceNoExistence(boolean forceNoExistence)
|
void |
setLocalDirectory(java.lang.String directory)
|
void |
setMode(CVSMode mode)
|
void |
setName(java.lang.String name)
|
void |
setNewUserFile(boolean isNew)
|
void |
setNoUserFile(boolean isNo)
|
void |
setOptions(java.lang.String options)
|
void |
setRepository(java.lang.String repository)
|
void |
setTag(java.lang.String tag)
|
void |
setTimestamp(java.io.File entryFile)
Set the timestamp of this entry to that of the modification time of the file passed to this method. |
void |
setTimestamp(java.lang.String timeStamp)
|
void |
setToBeRemoved(boolean toBe)
|
void |
setValid(boolean valid)
|
void |
setVersion(java.lang.String version)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String RCS_ID
public static final java.lang.String RCS_REV
Constructor Detail |
public CVSEntry()
Method Detail |
public boolean isValid()
public void setValid(boolean valid)
public boolean isDirty()
public void setDirty(boolean dirty)
public boolean isForceModified()
public void setForceModified(boolean forceModified)
public boolean isForceNoExistence()
public void setForceNoExistence(boolean forceNoExistence)
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getRepository()
public void setRepository(java.lang.String repository)
public java.lang.String getLocalDirectory()
public void setLocalDirectory(java.lang.String directory)
public java.lang.String getFullName()
public java.lang.String getFullPathName()
public java.lang.String getLocalPathName()
public java.lang.String getRepositoryName()
public java.lang.String getArgumentName()
public boolean isDirectory()
public void appendEntry(CVSEntry entry)
public boolean removeEntry(CVSEntry entry)
public boolean removeEntry(java.lang.String entryName)
public void removeAllEntries()
public CVSEntry locateEntry(java.lang.String name)
public CVSEntryVector getEntryList()
public void setDirectoryEntryList(CVSEntryVector entryList)
entryList
- The directory's entry list.public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public void markForRemoval(boolean markState)
public CVSTimestamp getCVSTime()
public java.lang.String getTimestamp()
public java.lang.String completeTimestamp()
public java.lang.String getTerseTimestamp()
public void setTimestamp(java.io.File entryFile)
public void setTimestamp(java.lang.String timeStamp)
public void setConflict(java.io.File entryFile)
public java.lang.String getOptions()
public void setOptions(java.lang.String options)
public boolean isBinary()
public java.lang.String getTag()
public void setTag(java.lang.String tag)
public java.lang.String getDate()
public void setDate(java.lang.String date)
public CVSMode getMode()
public void setMode(CVSMode mode)
public java.lang.String getModeLine()
public boolean isNoUserFile()
public void setNoUserFile(boolean isNo)
public boolean isInConflict()
public boolean isNewUserFile()
public void setNewUserFile(boolean isNew)
public boolean isToBeRemoved()
public void setToBeRemoved(boolean toBe)
public boolean isLocalFileModified(java.io.File localFile)
public boolean parseEntryLine(java.lang.String parseLine, boolean fromServer) throws java.text.ParseException
java.text.ParseException
public java.lang.String padString(java.lang.String str, int width)
public java.lang.String getAdminEntryLine()
public java.lang.String getServerEntryLine(boolean exists, boolean isModified)
public java.lang.String toString()
toString
in class java.lang.Object
public void addFileEntries(CVSEntryVector vector)
vector
- The vector to add the file entries to.public void addAllSubTreeEntries(CVSEntryVector vector)
vector
- The vector to add the file entries to.protected void fireChildAddedEvent(CVSEntry.ChildEvent event)
protected void fireChildRemovedEvent(CVSEntry.ChildEvent event)
public void addChildEventListener(CVSEntry.ChildEventListener l)
public void removeChildEventListener(CVSEntry.ChildEventListener l)
public java.lang.String dumpString()
public java.lang.String dumpString(java.lang.String prefix)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |