MCPcopy Create free account
hub / github.com/WindXaa/Android-reverse / findCharset

Method findCharset

WebCurl/WebCurl.java:216–230  ·  view source on GitHub ↗
(String line)

Source from the content-addressed store, hash-verified

214
215
216 public static String findCharset(String line){
217 String charset = "";
218 if(line.contains("charset")){
219 String[] arr=line.split("=",2);
220 for(String str:arr){
221 if(!str.equals("charset")){
222 charset = str;
223 }
224 }
225 return charset;
226 }else {
227 return "";
228 }
229
230 }
231
232
233

Callers 1

getCharsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected