errorInfo = "Exception occurs when read project index file.\n" + exception;
return false;
}
//end ��ȡ��Ŀ�����ļ�
FmdlParser parser = new FmdlParserPrototype();
//begin ��ȡ����ģ�������ļ�
try {
zipEntry = zipFile.getEntry(domainName + ".fm");
InputStream inputStream = zipFile.getInputStream(zipEntry);
featureModel = parser.openFmdl(inputStream);
} catch (Exception exception) {
errorInfo = "Exception occurs when read feature-model file.\n" + exception;
return false;
}
//end ��ȡ����ģ�������ļ�
//begin ��ȡԼ��ģ�������ļ�
try {
zipEntry = zipFile.getEntry(domainName + ".cm");
if (zipEntry != null) {
InputStream inputStream = zipFile.getInputStream(zipEntry);
parser.openCmdl(inputStream, featureModel);
}
} catch (Exception exception) {
errorInfo = "Exception occurs when read constraint-model file.\n" + exception;
return false;
}
//end ��ȡԼ��ģ�������ļ�
//Question: *.im �洢ʲô��Ϣ��
try{
zipEntry = zipFile.getEntry(domainName + ".im");
if (zipEntry != null) {
InputStream inputStream = zipFile.getInputStream(zipEntry);
parser.openImdl(inputStream, featureModel);
}
} catch (Exception exception) {
errorInfo = "Exception occurs when read interaction-model file.\n" + exception;
return false;