1 package org.apache.lucene.analysis; 2 3 18 19 import java.io.IOException ; 20 21 25 26 public abstract class TokenFilter extends TokenStream { 27 28 protected TokenStream input; 29 30 32 protected TokenFilter() {} 33 34 35 protected TokenFilter(TokenStream input) { 36 this.input = input; 37 } 38 39 40 public void close() throws IOException { 41 input.close(); 42 } 43 44 } 45 46 | Popular Tags |