@Test public void testCreateTokenFilter() throws Exception{ Properties properties = new Properties(); properties.setProperty(SplitterFilterFactory.SPLIT_STRING_PARAMETER, ","); SplitterFilter splitterFilter = (SplitterFilter) splitterFilterFactory.createTokenFilter(tokenStream, properties ); assertEquals("," , splitterFilter.getSplitString()); }
public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { String splitString = properties.getProperty(SPLIT_STRING_PARAMETER); return new SplitterFilter(tokenStream, splitString); }
SplitterFilterFactory implements TokenFilterFactory { public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { String splitString = properties.getProperty(SPLIT_STRING_PARAMETER); return new SplitterFilter(tokenStream, splitString); } }
SplitterFilterFactory implements TokenFilterFactory { public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { String splitString = properties.getProperty(SPLIT_STRING_PARAMETER); return new SplitterFilter(tokenStream, splitString); }  }
SplitterFilterFactory implements TokenFilterFactory { public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { String splitString = properties.getProperty(SPLIT_STRING_PARAMETER); return new SplitterFilter(tokenStream, splitString); }  TokenFilter createTokenFilter(TokenStream tokenStream,
			Properties properties); void preloadResources(Properties properties); }
SplitterFilterFactory implements TokenFilterFactory { public TokenFilter createTokenFilter(TokenStream tokenStream, Properties properties) throws IOException { String splitString = properties.getProperty(SPLIT_STRING_PARAMETER); return new SplitterFilter(tokenStream, splitString); }  TokenFilter createTokenFilter(TokenStream tokenStream,
			Properties properties); void preloadResources(Properties properties); static final String SPLIT_STRING_PARAMETER; }