5 public class FormatPropertyVector {
\r
6 Vector formatProps = new Vector();
\r
7 Vector formatDescs = new Vector();
\r
9 public void add(String description,String className) {
\r
10 formatProps.addElement(new FormatProperty(description,className));
\r
11 formatDescs.addElement(description);
\r
13 public Vector getFormatNames() {
\r
17 public String getClassName(int ind) {
\r
18 return ((FormatProperty)formatProps.elementAt(ind)).getClassName();
\r
21 public String getSchemeName(int ind) {
\r
22 return ((FormatProperty)formatProps.elementAt(ind)).getDescription();
\r
25 public boolean contains(String description) {
\r
26 return formatDescs.contains(description);
\r
29 public int indexOf(String description) {
\r
30 return formatDescs.indexOf(description);
\r