} else
return null;
}
public static void performBin2External(File inBinaryFile, TaskComplete done) {
DialogBinary2External dialog = new DialogBinary2External(EncogWorkBench
.getInstance().getMainWindow());
if( inBinaryFile!=null )
dialog.getBinaryFile().setValue(inBinaryFile.toString());
if (dialog.process()) {
File binaryFile = new File(dialog.getBinaryFile().getValue());
File externFile = new File(dialog.getExternalFile().getValue());
int fileType = dialog.getFileType().getSelectedIndex();
DataSetCODEC codec;
BinaryDataLoader loader;
if (fileType == 0) {
DialogCSV dialog2 = new DialogCSV(EncogWorkBench.getInstance()