public void inform(ResourceLoader loader) throws IOException {if (stopWordFiles != null) {if (FORMAT_WORDSET.equalsIgnoreCase(format)) {stopWords = getWordSet(loader, stopWordFiles, ignoreCase);} else if (FORMAT_SNOWBALL.equalsIgnoreCase(format)) {stopWords = getSnowballWordSet(loader, stopWordFiles, ignoreCase);} else {throw new IllegalArgumentException("Unknown 'format' specified for 'words' file: " + format);}} else {if (null != format) {throw new IllegalArgumentException("'format' can not be specified w/o an explicit 'words' file: " + format);}stopWords = new CharArraySet(EnglishAnalyzer.ENGLISH_STOP_WORDS_SET, ignoreCase);}}
public virtual void Inform(IResourceLoader loader){if (stopWordFiles != null){if (FORMAT_WORDSET.Equals(format, StringComparison.OrdinalIgnoreCase)){stopWords = GetWordSet(loader, stopWordFiles, ignoreCase);}else if (FORMAT_SNOWBALL.Equals(format, StringComparison.OrdinalIgnoreCase)){stopWords = GetSnowballWordSet(loader, stopWordFiles, ignoreCase);}else{throw new System.ArgumentException("Unknown 'format' specified for 'words' file: " + format);}}else{if (null != format){throw new System.ArgumentException("'format' can not be specified w/o an explicit 'words' file: " + format);}stopWords = new CharArraySet(m_luceneMatchVersion, StopAnalyzer.ENGLISH_STOP_WORDS_SET, ignoreCase);}}