Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/transport/Telnet.java @ 12:6aaefb22d876 tn5250
adding tn5250 files
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 22 May 2014 18:41:36 -0700 |
parents | f3b3bbd227b8 |
children | b39bcf616a6f |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/transport/Telnet.java Thu May 22 18:26:27 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/transport/Telnet.java Thu May 22 18:41:36 2014 -0700 @@ -263,7 +263,7 @@ } } - public static Uri getUri(String input) { + public Uri getUri(String input) { Matcher matcher = hostmask.matcher(input); if (!matcher.matches()) @@ -337,7 +337,7 @@ selection.put(HostDatabase.FIELD_HOST_PORT, Integer.toString(port)); } - public static String getFormatHint(Context context) { + public String getFormatHint(Context context) { return String.format("%s:%s", context.getString(R.string.format_hostname), context.getString(R.string.format_port));