if (manifestFile.isFile())
try {
return new BundleManifest(new FileInputStream(manifestFile));
}
catch (IOException e) {
throw new IORuntimeException("IOException in BundleManifest.fromBundle(File)", e);
}
else
return null;
}
else if (f.isFile()) {
try {
return fromBundle(new FileInputStream(f));
}
catch (IOException e) {
throw new IORuntimeException("IOException in BundleManifest.fromBundle(File)", e);
}
}
else {
throw new IllegalArgumentException(MessageUtil.getMessage("UTIL0016E", f.getAbsolutePath()));
}