|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--allensoft.javacvs.client.Entry | +--allensoft.javacvs.client.FileEntry
Represents an entry in the "CVS/Entries" file for a file.
Inner Class Summary | |
static class |
FileEntry.Status
Defines the status of a FileEntry. |
Field Summary | |
static java.lang.String |
KEYWORD_SUBSTITUTION_MODE_PROPERTY
|
static java.lang.String |
MODIFIED_PROPERTY
|
static java.lang.String |
REVISION_PROPERTY
|
static java.lang.String |
STATUS_PROPERTY
|
static java.lang.String |
STICKY_DATE_PROPERTY
|
static java.lang.String |
STICKY_TAG_PROPERTY
|
Fields inherited from class allensoft.javacvs.client.Entry |
m_sName |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
static FileEntry |
getFileEntry(java.io.File file)
Gets the FileEntry for the specified file. |
KeywordSubstitutionMode |
getKeywordSubstitutionMode()
Gets the keyword substitution mode for this file entry. |
java.lang.String |
getRevision()
Gets the revision of this file entry. |
FileEntry.Status |
getStatus()
Gets the status of this file entry. |
java.util.Date |
getStickyDate()
Gets the sticky date for this file entry. |
java.lang.String |
getStickyTag()
Gets the sticky tag for this file entry. |
boolean |
isBinary()
A convienience method to see if this file entry is binary. |
boolean |
isModified()
Checks if this file has been modified. |
void |
markAsModified()
|
void |
markAsUnmodified()
Marks this file entry as unmodified by updating its timestamp to that of when the file was last modified. |
void |
setKeywordSubstitutionMode(KeywordSubstitutionMode mode)
Sets the options for this file entry. |
void |
setRevision(java.lang.String sRevision)
Sets the revision of this file entry. |
void |
setStatus(FileEntry.Status status)
Sets the status of this file entry. |
void |
setStatus(java.lang.String sStatus)
|
void |
setStickyDate(java.util.Date date)
Sets the sticky date for this file entry. |
void |
setStickyTag(java.lang.String sTag)
Sets the sticky tag for this file entry. |
java.lang.String |
toString()
Converts this file entry to a string in the format represented in a "Entries" file. |
void |
write(java.io.PrintWriter out)
Writes this file entry to the supplied output in the format expected in an "Entries" file. |
Methods inherited from class allensoft.javacvs.client.Entry |
addPropertyChangeListener, addPropertyChangeListener, compareTo, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAbsoluteRepositoryPath, getEntry, getEntry, getFile, getName, getWorkingDirectory, hashCode, removePropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String STATUS_PROPERTY
public static final java.lang.String REVISION_PROPERTY
public static final java.lang.String STICKY_TAG_PROPERTY
public static final java.lang.String STICKY_DATE_PROPERTY
public static final java.lang.String MODIFIED_PROPERTY
public static final java.lang.String KEYWORD_SUBSTITUTION_MODE_PROPERTY
Method Detail |
public static FileEntry getFileEntry(java.io.File file) throws CVSException, java.io.IOException
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String getRevision()
public void setRevision(java.lang.String sRevision)
public boolean isModified()
public void markAsUnmodified()
public void markAsModified()
public FileEntry.Status getStatus()
public void setStatus(FileEntry.Status status)
public void setStatus(java.lang.String sStatus)
public java.lang.String getStickyTag()
public void setStickyTag(java.lang.String sTag)
public java.util.Date getStickyDate()
public void setStickyDate(java.util.Date date)
public KeywordSubstitutionMode getKeywordSubstitutionMode()
public void setKeywordSubstitutionMode(KeywordSubstitutionMode mode)
public boolean isBinary()
public void write(java.io.PrintWriter out)
write
in class Entry
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |