|
|
@ -894,7 +894,7 @@ public class Convert |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static String toSBC(String input, Set<Character> notConvertSet) |
|
|
|
public static String toSBC(String input, Set<Character> notConvertSet) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char c[] = input.toCharArray(); |
|
|
|
char[] c = input.toCharArray(); |
|
|
|
for (int i = 0; i < c.length; i++) |
|
|
|
for (int i = 0; i < c.length; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (null != notConvertSet && notConvertSet.contains(c[i])) |
|
|
|
if (null != notConvertSet && notConvertSet.contains(c[i])) |
|
|
@ -936,7 +936,7 @@ public class Convert |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static String toDBC(String text, Set<Character> notConvertSet) |
|
|
|
public static String toDBC(String text, Set<Character> notConvertSet) |
|
|
|
{ |
|
|
|
{ |
|
|
|
char c[] = text.toCharArray(); |
|
|
|
char[] c = text.toCharArray(); |
|
|
|
for (int i = 0; i < c.length; i++) |
|
|
|
for (int i = 0; i < c.length; i++) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (null != notConvertSet && notConvertSet.contains(c[i])) |
|
|
|
if (null != notConvertSet && notConvertSet.contains(c[i])) |
|
|
|