.append("/" + mixinFileName).append(MIXIN_FILE_EXTENSION).toString();
String mixinContent;
try {
mixinContent = FileSystemConfigStoreUtil.getFileContents(mixinFileName);
XmlMixinConfiguration mixin = new XmlMixinConfiguration(mixinContent.trim());
mixinConfigs.addAll(processMixinConfig(namespace, mixin));
} catch (IOException e) {
logger.log(Level.WARNING, "Problems encountered while loading the mixin configuration"
+ mixinFileName, e);
throw new FeedConfigStoreException(Reason.INTERNAL_ERROR,
"Problems encountered while loading the mixin configuration : " + mixinFileName);
}
}
} else {
XmlMixinConfiguration mixin = new XmlMixinConfiguration(mixins.trim());
mixinConfigs.addAll(processMixinConfig(namespace, mixin));
}
MixinConfiguration[] mixinConfig = new MixinConfiguration[mixinConfigs.size()];
return mixinConfigs.toArray(mixinConfig);