「configFile」を /file/es/Promo/pricing.xml ではなく /file/es/Promo/promo*.xml として渡すことはできますか
そうでない場合、どうすればこれを達成できますか?ガイドしてください
// First create a new XMLInputFactory
XMLInputFactory inputFactory = XMLInputFactory.newInstance();
// Setup a new eventReader
InputStream in = new FileInputStream(configFile);
XMLEventReader eventReader = inputFactory.createXMLEventReader(in);
// Read the XML document
提案してください。