if (xmlConfigs != null) { List configs = new ArrayList(); for (StringTokenizer st = new StringTokenizer(xmlConfigs, ","); st.hasMoreTokens();) { String configName = st.nextToken(); configs.add(new File(configName)); } return (File[]) configs.toArray(new File[] {}); } else { return null; }
getLog().debug("Creating a list of config files."); try { if ( xmlConfigs != null) { return (File[])getFileList(xmlConfigs).toArray(new File[] {}); } else if (defaultXmlConfigDir.exists()){ List defaultDir = new ArrayList(); defaultDir.add(defaultXmlConfigDir); return (File[])getFileList(defaultDir).toArray(new File[] {}); } else { return null; } } catch (XmlBeansException xmlbe) { throw new XmlBeansException(XmlBeansException.INVALID_CONFIG_FILE, xmlbe); }
   public final File[] getConfigFiles()   {      if (xmlConfigs != null)      {         List configs = new ArrayList();         for (StringTokenizer st = new StringTokenizer(xmlConfigs, ","); st.hasMoreTokens();)         {            String configName = st.nextToken();            configs.add(new File(configName));         }         return (File[]) configs.toArray(new File[] {});      }      else      {         return null;      }   }