This project has retired. For details please refer to its
Attic page.
org.apache.lenya.lucene.index
Class AbstractIndexer.DefaultIndexFilter
java.lang.Object
org.apache.lenya.lucene.index.AbstractIndexer.DefaultIndexFilter
- All Implemented Interfaces:
- java.io.FileFilter
- Enclosing class:
- AbstractIndexer
public static class AbstractIndexer.DefaultIndexFilter
- extends java.lang.Object
- implements java.io.FileFilter
FileFilter used to obtain the files to index.
|
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 |
indexableExtensions
protected java.lang.String[] indexableExtensions
AbstractIndexer.DefaultIndexFilter
public AbstractIndexer.DefaultIndexFilter()
- Default indexable extensions: html, htm, txt
AbstractIndexer.DefaultIndexFilter
public AbstractIndexer.DefaultIndexFilter(java.lang.String[] indexableExtensions)
accept
public boolean accept(java.io.File file)
- Tests whether or not the specified abstract pathname should be
included in a pathname list.
- Specified by:
accept in interface java.io.FileFilter
- Parameters:
pathname - The abstract pathname to be tested
- Returns:
true if and only if pathname should be included
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.