gran.app.adapter.kernel.index
Class BaseIndexAdapter
java.lang.Object
gran.app.adapter.kernel.index.BaseIndexAdapter
- All Implemented Interfaces:
- Adapter, IndexAdapter, KernelAdapter
- public class BaseIndexAdapter
- extends java.lang.Object
- implements IndexAdapter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INDEXDIR
public static java.lang.String INDEXDIR
SKIPFLAG
public static java.lang.String SKIPFLAG
SPECIALCHAR
public static java.lang.String[] SPECIALCHAR
SPECIALCHARREPLACE
public static java.lang.String[] SPECIALCHARREPLACE
BaseIndexAdapter
public BaseIndexAdapter()
getEncoding
public java.lang.String getEncoding()
init
public boolean init()
- Description copied from interface:
Adapter
- Initialize adapter. TrackStudio calls this method
during startup.
- Specified by:
init
in interface Adapter
- Returns:
- true when adapter initialized, false otherwise.
getDescription
public java.lang.String getDescription()
- Description copied from interface:
Adapter
- Get description of adapter as plain text
- Specified by:
getDescription
in interface Adapter
indexImpl
public void indexImpl()
throws GranException
- Specified by:
indexImpl
in interface IndexAdapter
- Throws:
GranException
searchImpl
public java.util.ArrayList searchImpl(java.lang.String word,
java.lang.String keyword,
java.util.ArrayList ret)
throws GranException
- Specified by:
searchImpl
in interface IndexAdapter
- Throws:
GranException
reIndexTaskImpl
public void reIndexTaskImpl(java.lang.String id)
- Specified by:
reIndexTaskImpl
in interface IndexAdapter
indexTaskImpl
public void indexTaskImpl(java.lang.String id)
- Specified by:
indexTaskImpl
in interface IndexAdapter
deleteTaskImpl
public void deleteTaskImpl(java.lang.String id)
- Specified by:
deleteTaskImpl
in interface IndexAdapter
checkLuceneCharacterImpl
public java.lang.String checkLuceneCharacterImpl(java.lang.String s)
throws GranException
- Specified by:
checkLuceneCharacterImpl
in interface IndexAdapter
- Throws:
GranException
Copyright © 2002-2004 TrackStudio, Ltd. All Rights Reserved.