public TransportAddress stringToAddr(String s) throws ICPException {
Vector addressFields = parseURL(s);
String protocol = (String) addressFields.elementAt(0);
if (!NAME.equals(protocol)) {
throw new ICPException("Unexpected protocol \""+protocol+"\" when \""+NAME+"\" was expected.");
}
String host = (String) addressFields.elementAt(1);
String port = (String) addressFields.elementAt(2);
String file = (String) addressFields.elementAt(3);