allensoft.javacvs.client
Class Entry
java.lang.Object
|
+--allensoft.javacvs.client.Entry
- All Implemented Interfaces:
- java.lang.Comparable
- Direct Known Subclasses:
- DirectoryEntry, FileEntry
- public abstract class Entry
- extends java.lang.Object
- implements java.lang.Comparable
Defines a single entry in the Entries file.
Field Summary |
protected java.lang.String |
m_sName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
m_sName
protected java.lang.String m_sName
Entry
protected Entry(WorkingDirectory workingDirectory)
getEntry
public static Entry getEntry(java.io.File file)
throws java.io.IOException,
CVSException
- Gets the CVSEntry object for the specified file.
getEntry
public static Entry getEntry(java.lang.String file)
throws java.io.IOException,
CVSException
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getName
public java.lang.String getName()
- Gets the name of this entry.
getFile
public java.io.File getFile()
- Gets the file that this entry represents.
getWorkingDirectory
public WorkingDirectory getWorkingDirectory()
- Gets the working directory this entry belongs to.
getAbsoluteRepositoryPath
public java.lang.String getAbsoluteRepositoryPath()
write
public abstract void write(java.io.PrintWriter out)
- Writes this entry to the specified output.
addPropertyChangeListener
public void addPropertyChangeListener(java.beans.PropertyChangeListener l)
addPropertyChangeListener
public void addPropertyChangeListener(java.lang.String sProperty,
java.beans.PropertyChangeListener l)
removePropertyChangeListener
public void removePropertyChangeListener(java.beans.PropertyChangeListener l)
removePropertyChangeListener
public void removePropertyChangeListener(java.lang.String sProperty,
java.beans.PropertyChangeListener l)
firePropertyChange
protected void firePropertyChange(java.beans.PropertyChangeEvent e)
firePropertyChange
protected void firePropertyChange(java.lang.String sProperty,
boolean oldValue,
boolean newValue)
firePropertyChange
protected void firePropertyChange(java.lang.String sProperty,
int oldValue,
int newValue)
firePropertyChange
protected void firePropertyChange(java.lang.String sProperty,
java.lang.Object oldValue,
java.lang.Object newValue)