/[projects]/android/AndroidUtils/src/dk/thoerup/androidutils/HttpUtil.java
ViewVC logotype

Diff of /android/AndroidUtils/src/dk/thoerup/androidutils/HttpUtil.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1246 by torben, Mon May 31 07:20:27 2010 UTC revision 1247 by torben, Wed Mar 30 19:52:31 2011 UTC
# Line 36  public class HttpUtil { Line 36  public class HttpUtil {
36                  return res;                  return res;
37          }          }
38                    
39            static public String getLastPart(String url) {          
40                    String parts[] = url.split("/");
41                    String lastPart = parts[ parts.length - 1];
42                                    
43                    return lastPart;
44            }
45            
46          static public String encodeParams(Map<String,String> params) {          static public String encodeParams(Map<String,String> params) {
47                  StringBuilder sb = new StringBuilder();                  StringBuilder sb = new StringBuilder();
48                                    

Legend:
Removed from v.1246  
changed lines
  Added in v.1247

  ViewVC Help
Powered by ViewVC 1.1.20