(int index)
| 68 | return ((Integer)indexes.elementAt(index)).intValue(); |
| 69 | } |
| 70 | public Msg msg(int index){ |
| 71 | try { |
| 72 | ByteArrayInputStream bais=new ByteArrayInputStream( |
| 73 | rs.getRecord(getRecordId(index)) |
| 74 | ); |
| 75 | DataInputStream dis=new DataInputStream(bais); |
| 76 | Msg msg=new Msg(dis); |
| 77 | msg.itemCollapsed=true; |
| 78 | dis.close(); |
| 79 | return msg; |
| 80 | } catch (Exception e) {} |
| 81 | return null; |
| 82 | } |
| 83 | |
| 84 | public void delete(int index) { |
| 85 | try { |
no test coverage detected