{
zipFile = new ZipFile(swcFile, ZipFile.OPEN_READ);
final InputStream catalogInputStream = getInputStream(zipFile, CATALOG_XML);
if (catalogInputStream == null)
{
swc.addProblem(new FileInLibraryNotFoundProblem(swcFile.getAbsolutePath(), CATALOG_XML));
return;
}
catalogReader = new StAXCatalogReader(new BufferedInputStream(catalogInputStream), swc);
catalogReader.parse();
catalogReader.close();