KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > indexing > FileIndexerPlugin


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.indexing;
6
7 /**
8  * @author Tuan Nguyen (tuan08@users.sourceforge.net)
9  * @since Sep 12, 2004
10  * @version $Id: FileIndexerPlugin.java,v 1.3 2004/09/17 16:59:42 tuan08 Exp $
11  */

12 public interface FileIndexerPlugin extends IndexerPlugin {
13   final static public String JavaDoc IDENTIFIER= "FileIndexerPlugin" ;
14   final static public String JavaDoc BASE_DIR_FIELD= "basedir" ;
15   
16   public void indexDirectory(String JavaDoc directory, String JavaDoc acessRole,
17                              String JavaDoc[] acceptExt, boolean recursive) throws Exception JavaDoc ;
18   public void reindexDirectory(String JavaDoc directory, String JavaDoc accessRole,
19                                String JavaDoc[] acceptExt, boolean recursive) throws Exception JavaDoc ;
20
21 }
Popular Tags