org.ceryle.wiki.plugin
Class InterWikiPlugin.PageRecord
java.lang.Object
org.ceryle.wiki.plugin.InterWikiPlugin.PageRecord
- All Implemented Interfaces:
- Comparable
- Enclosing class:
- InterWikiPlugin
protected class InterWikiPlugin.PageRecord
- extends Object
- implements Comparable
|
Method Summary |
int |
compareByName(Object o)
Compares this PageRecord with another by page name. |
int |
compareTo(Object o)
Compares this PageRecord with another by date. |
void |
toParagraph(StringBuffer sb)
Generates a paragraph for this PageRecord, writing the
output to the provided StringBuffer. |
String |
toString()
Generates a String representation of this PageRecord. |
name
public String name
author
public String author
version
public int version
modified
public Date modified
InterWikiPlugin.PageRecord
public InterWikiPlugin.PageRecord()
InterWikiPlugin.PageRecord
public InterWikiPlugin.PageRecord(String name,
String author,
int version,
Date modified)
toParagraph
public void toParagraph(StringBuffer sb)
- Generates a paragraph for this PageRecord, writing the
output to the provided StringBuffer.
toString
public String toString()
- Generates a String representation of this PageRecord.
- Overrides:
toString in class Object
compareByName
public int compareByName(Object o)
- Compares this PageRecord with another by page name.
compareTo
public int compareTo(Object o)
- Compares this PageRecord with another by date.
- Specified by:
compareTo in interface Comparable
The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.