|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmonks.dms.versioncontrol.ri.DefaultFileVersion
| Field Summary | |
protected java.lang.String |
fileName
|
(package private) org.apache.log4j.Logger |
logger
|
protected java.lang.String |
versionAuthor
|
protected java.util.Date |
versionDate
|
protected java.lang.String |
versionDescription
|
protected int |
versionNumber
|
| Constructor Summary | |
(package private) |
DefaultFileVersion(int versionNumber,
java.lang.String versionDate,
java.lang.String authorName,
java.lang.String description,
java.lang.String fileName)
Creates a new instance of DefaultFileVersion. |
| Method Summary | |
java.io.InputStream |
getInputStream()
This method will allow to read the contents of that particular version of that file entry. |
int |
getLength()
Returns the length of the file of this version. |
java.lang.String |
getVersionAuthor()
Returns the author of version of this object. |
java.util.Date |
getVersionDate()
Returns the created date of this version. |
java.lang.String |
getVersionDescription()
Returns the description of this version. |
int |
getVersionNumber()
Returns the number of version this object holds. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int versionNumber
protected java.util.Date versionDate
protected java.lang.String versionAuthor
protected java.lang.String versionDescription
protected java.lang.String fileName
org.apache.log4j.Logger logger
| Constructor Detail |
DefaultFileVersion(int versionNumber,
java.lang.String versionDate,
java.lang.String authorName,
java.lang.String description,
java.lang.String fileName)
versionNumber - Number of this particular versionversionDate - Date created this version.authorName - Name of the author created this version.description - Description provided when submitting this version.fileName - Entry name of the file entry.| Method Detail |
public int getVersionNumber()
FileVersion
getVersionNumber in interface FileVersionFileVersion.getVersionNumber()public java.util.Date getVersionDate()
FileVersion
getVersionDate in interface FileVersionFileVersion.getVersionDate()public java.lang.String getVersionAuthor()
FileVersion
getVersionAuthor in interface FileVersionFileVersion.getVersionAuthor()public java.lang.String getVersionDescription()
FileVersion
getVersionDescription in interface FileVersionFileVersion.getVersionDescription()public java.io.InputStream getInputStream()
FileVersion
getInputStream in interface FileVersionFileVersion.getInputStream()public int getLength()
FileVersion
getLength in interface FileVersionFileVersion.getLength()public java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||