MCPcopy Create free account
hub / github.com/M66B/FairEmail / fromStringArray

Method fromStringArray

app/src/main/java/eu/faircode/email/DB.java:3316–3327  ·  view source on GitHub ↗
(String[] value)

Source from the content-addressed store, hash-verified

3314 }
3315
3316 @TypeConverter
3317 public static String fromStringArray(String[] value) {
3318 if (value == null || value.length == 0)
3319 return null;
3320 else {
3321 String[] copy = new String[value.length];
3322 System.arraycopy(value, 0, copy, 0, value.length);
3323 for (int i = 0; i < copy.length; i++)
3324 copy[i] = Uri.encode(copy[i]);
3325 return TextUtils.join(" ", copy);
3326 }
3327 }
3328
3329 @TypeConverter
3330 public static String encodeAddresses(Address[] addresses) {

Callers 5

onExecuteMethod · 0.80
onLabelMethod · 0.80
onSynchronizeMessagesMethod · 0.80
synchronizeMessageMethod · 0.80
queueMethod · 0.80

Calls 2

joinMethod · 0.80
encodeMethod · 0.45

Tested by

no test coverage detected