import jalview.util.MessageManager;
import java.io.BufferedReader;
+import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileReader;
{
// this will be from JavaScript
inFile = file;
- dataIn = new BufferedReader(new StringReader(new String(bytes)));
+ dataIn = new BufferedReader(new java.io.InputStreamReader(new ByteArrayInputStream(bytes)));
dataName = fileStr;
}
else if (checkFileSource(fileStr))
*
*/
- System.out.println(data);
dataIn = Rdr.getBR(data);
+
dataName = fileStr;
}