|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.lucene.index.AbstractIndexer.DefaultIndexFilter
public static class AbstractIndexer.DefaultIndexFilter
FileFilter used to obtain the files to index.
Field Summary | |
---|---|
protected java.lang.String[] |
indexableExtensions
|
Constructor Summary | |
---|---|
AbstractIndexer.DefaultIndexFilter()
Default indexable extensions: html, htm, txt |
|
AbstractIndexer.DefaultIndexFilter(java.lang.String[] indexableExtensions)
|
Method Summary | |
---|---|
boolean |
accept(java.io.File file)
Tests whether or not the specified abstract pathname should be included in a pathname list. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] indexableExtensions
Constructor Detail |
---|
public AbstractIndexer.DefaultIndexFilter()
public AbstractIndexer.DefaultIndexFilter(java.lang.String[] indexableExtensions)
Method Detail |
---|
public boolean accept(java.io.File file)
accept
in interface java.io.FileFilter
pathname
- The abstract pathname to be tested
true
if and only if pathname
should be included
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |