public class DefaultDocumentSource extends java.lang.Object implements DocumentSource
CVS_ID
Constructor and Description |
---|
DefaultDocumentSource(java.lang.String location,
java.lang.String author,
long date,
java.lang.String revision)
Creates a new default document source
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthor()
Returns the author
|
long |
getDate()
Returns the date
|
java.lang.String |
getLabel()
Returns the revision information.
|
java.lang.String |
getLocation()
Returns some location information of the source.
|
java.lang.String |
getRevision()
Returns the revision
|
java.lang.String |
toString() |
public DefaultDocumentSource(java.lang.String location, java.lang.String author, long date, java.lang.String revision)
location
- some location informationauthor
- the author of the documentdate
- some date of the documentrevision
- some revision of the documentpublic java.lang.String getLocation()
getLocation
in interface DocumentSource
public java.lang.String getLabel()
getLabel
in interface DocumentSource
public java.lang.String getAuthor()
public long getDate()
public java.lang.String getRevision()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 - 2020 Adobe. All Rights Reserved