org.ceryle.wiki.plugin
Class InterWikiPlugin.PageRecord

java.lang.Object
  extended by org.ceryle.wiki.plugin.InterWikiPlugin.PageRecord
All Implemented Interfaces:
Comparable
Enclosing class:
InterWikiPlugin

protected class InterWikiPlugin.PageRecord
extends Object
implements Comparable


Field Summary
 String author
           
 Date modified
           
 String name
           
 int version
           
 
Constructor Summary
InterWikiPlugin.PageRecord()
           
InterWikiPlugin.PageRecord(String name, String author, int version, Date modified)
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public String name

author

public String author

version

public int version

modified

public Date modified
Constructor Detail

InterWikiPlugin.PageRecord

public InterWikiPlugin.PageRecord()

InterWikiPlugin.PageRecord

public InterWikiPlugin.PageRecord(String name,
                                  String author,
                                  int version,
                                  Date modified)
Method Detail

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.