|
|
|
@ -51,13 +51,11 @@ public class Trans { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static String s2t(String text) { |
|
|
|
public static String s2t(String text) { |
|
|
|
if (TextUtils.isEmpty(text)) return ""; |
|
|
|
return text == null ? "" : s2t(pass(), text); |
|
|
|
return s2t(pass(), text); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static String t2s(String text) { |
|
|
|
public static String t2s(String text) { |
|
|
|
if (TextUtils.isEmpty(text)) return ""; |
|
|
|
return text == null ? "" : t2s(pass(), text); |
|
|
|
return t2s(pass(), text); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public static String s2t(boolean pass, String text) { |
|
|
|
public static String s2t(boolean pass, String text) { |
|
|
|
|