The method below replaces all the non ASCII printable characters in the ArrayList provided as argument with null.
public static ArrayList valiateCharacterSetAscii(ArrayListfileContents){
ArrayListtmpList = new ArrayList();
String str = "";
for(int j=0; j < str =" fileContents.get(j);" resultantstring = "" i="0;i=33 && charCode <=126))) resultantString += str.charAt(i); else resultantString += null; } tmpList.add(resultantString); } return tmpList; }
public static ArrayList
ArrayList
String str = "";
for(int j=0; j < str =" fileContents.get(j);" resultantstring = "" i="0;i
Comments