String tempStructureFileStr = createNamedJvTempFile(
urlLeafName, structExt);
UrlDownloadClient.download(file, tempStructureFileStr);
- file = tempStructureFileStr;
- protocol = DataSourceType.FILE;
+ al = fa.readFile(tempStructureFileStr, DataSourceType.FILE,
+ format);
+ source = fa.getAlignFile();
+ }
+ else
+ {
+ al = fa.readFile(file, protocol, format);
+ source = fa.getAlignFile(); // keep reference for later if
+ // necessary.
}
- al = fa.readFile(file, protocol, format);
- source = fa.getAlignFile(); // keep reference for later if
- // necessary.
}
} catch (java.io.IOException ex)
{