*/
public Enumeration listOptions() {
Vector result;
Enumeration enm;
String param;
SelectedTag tag;
int i;
result = new Vector();
enm = super.listOptions();
while (enm.hasMoreElements())
result.addElement(enm.nextElement());
param = "";
for (i = 0; i < TAGS_ALGORITHM.length; i++) {
if (i > 0)
param += "|";
tag = new SelectedTag(TAGS_ALGORITHM[i].getID(), TAGS_ALGORITHM);
param += tag.getSelectedTag().getReadable();
}
result.addElement(new Option(
"\tThe algorithm to use.\n"
+ "\t(default: HAAR)",
"A", 1, "-A <" + param + ">"));
param = "";
for (i = 0; i < TAGS_PADDING.length; i++) {
if (i > 0)
param += "|";
tag = new SelectedTag(TAGS_PADDING[i].getID(), TAGS_PADDING);
param += tag.getSelectedTag().getReadable();
}
result.addElement(new Option(
"\tThe padding to use.\n"
+ "\t(default: ZERO)",
"P", 1, "-P <" + param + ">"));