comparison src/com/five_ten_sg/connectbot/transport/TransportFactory.java @ 13:b39bcf616a6f tn5250

adding tn5250 files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 22 May 2014 18:56:41 -0700
parents f3b3bbd227b8
children 77ac18bc1b2f
comparison
equal deleted inserted replaced
12:6aaefb22d876 13:b39bcf616a6f
61 else { 61 else {
62 return null; 62 return null;
63 } 63 }
64 } 64 }
65 65
66 public static Uri getUri(String scheme, String input) { 66 public static Uri getUri(String protocol, String input) {
67 Log.d("TransportFactory", String.format( 67 Log.d("TransportFactory", String.format(
68 "Attempting to discover URI for scheme=%s on input=%s", scheme, 68 "Attempting to discover URI for protocol=%s on input=%s",
69 input)); 69 protocol, input));
70 AbsTransport t = getTransport(protocol); 70 AbsTransport t = getTransport(protocol);
71 if (t == null) return null; 71 if (t == null) return null;
72 return t.getUri(input); 72 return t.getUri(input);
73 } 73 }
74 74