org.radeox.macro.list
Class AtoZListFormatter
java.lang.Object
org.radeox.macro.list.AtoZListFormatter
- All Implemented Interfaces:
- ListFormatter
- public class AtoZListFormatter
- extends java.lang.Object
- implements ListFormatter
Formats a list as AtoZ listing separated by the alphabetical characters.
- Version:
- $Id: AtoZListFormatter.java,v 1.4 2004/02/16 16:13:20 leo Exp $
- Author:
- Matthias L. Jugel
Method Summary |
void |
format(java.io.Writer writer,
Linkable current,
java.lang.String listComment,
java.util.Collection c,
java.lang.String emptyText,
boolean showSize)
Create an A to Z index |
java.lang.String |
getName()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtoZListFormatter
public AtoZListFormatter()
getName
public java.lang.String getName()
- Specified by:
getName
in interface ListFormatter
format
public void format(java.io.Writer writer,
Linkable current,
java.lang.String listComment,
java.util.Collection c,
java.lang.String emptyText,
boolean showSize)
throws java.io.IOException
- Create an A to Z index
- Specified by:
format
in interface ListFormatter
- Parameters:
writer
- Writer to write the list output tocurrent
- the current linkablelistComment
- String to display before the listc
- Collection of Linkables, Snips or Nameables to displayemptyText
- Text to display if collection is emptyshowSize
- If showSize is true then the size of the collection is displayed
- Throws:
java.io.IOException
Copyright © 2003 Matthias L. Jugel, Stephan J. Schmidt. All Rights Reserved.