Creates a new instance of RosterIcons
()
| 53 | private Vector transpSkins; |
| 54 | /** Creates a new instance of RosterIcons */ |
| 55 | private RosterIcons() { |
| 56 | super("/images/skin.png", 0, ICONS_IN_ROW); |
| 57 | |
| 58 | transports=new StringLoader().hashtableLoader("/images/transports.txt"); //new Hashtable(); |
| 59 | if (transports != null) { // without skin |
| 60 | transpSkins=new Vector(transports.size()); |
| 61 | transports.put("conference", new Integer(ICON_GROUPCHAT_INDEX)); |
| 62 | } |
| 63 | } |
| 64 | |
| 65 | public int getTransportIndex(String name){ |
| 66 | if (transports == null) return 0; |
nothing calls this directly
no test coverage detected