()
| 98 | } |
| 99 | |
| 100 | public void publish() { |
| 101 | for (int index=0; index<vcard.getCount(); index++) { |
| 102 | try { |
| 103 | String field=((TextInput)itemsList.elementAt(index)).getValue(); |
| 104 | if (field.length()==0) field=null; |
| 105 | vcard.setVCardData(index, field); |
| 106 | } catch (Exception ex) { } |
| 107 | } |
| 108 | //System.out.println(vcard.constructVCard().toString()); |
| 109 | new Thread(this).start(); |
| 110 | parentView = sd.roster; |
| 111 | destroyView(); |
| 112 | } |
| 113 | |
| 114 | public void menuAction(MenuCommand c, VirtualList d) { |
| 115 | if (c==cmdRefresh) { |
no test coverage detected