Package com.day.util.diff
Class DefaultDocumentSource
java.lang.Object
com.day.util.diff.DefaultDocumentSource
- All Implemented Interfaces:
DocumentSource
Provides a default document source
-
Field Summary
Fields inherited from interface com.day.util.diff.DocumentSource
CVS_ID
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDocumentSource
(String location, String author, long date, String revision) Creates a new default document source -
Method Summary
-
Constructor Details
-
DefaultDocumentSource
Creates a new default document source- Parameters:
location
- some location informationauthor
- the author of the documentdate
- some date of the documentrevision
- some revision of the document
-
-
Method Details
-
getLocation
Returns some location information of the source.- Specified by:
getLocation
in interfaceDocumentSource
- Returns:
- some location information.
-
getLabel
Returns the revision information. Returns a label of the source.- Specified by:
getLabel
in interfaceDocumentSource
- Returns:
- a label of the source.
-
getAuthor
Returns the author- Returns:
- the author
-
getDate
public long getDate()Returns the date- Returns:
- the date
-
getRevision
Returns the revision- Returns:
- the revision
-
toString
-