|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.obsearch.example.AbstractExampleGeneral
public abstract class AbstractExampleGeneral
Nested Class Summary | |
---|---|
protected static class |
AbstractExampleGeneral.Mode
things the program can do |
Field Summary | |
---|---|
protected File |
database
|
protected int |
databaseSize
Database max size |
protected boolean |
help
Help message |
protected File |
indexFolder
Folder where the index will be stored |
protected static Logger |
logger
Logging provided by Java |
protected AbstractExampleGeneral.Mode |
mode
Program mode |
protected File |
query
|
protected int |
querySize
Query count. |
Constructor Summary | |
---|---|
AbstractExampleGeneral(String[] args)
|
Method Summary | |
---|---|
protected abstract void |
create()
|
void |
doIt(String[] args)
|
void |
init()
|
protected abstract void |
intrinsic()
|
protected int |
read(byte[] buffer,
InputStreamReader r)
|
protected abstract void |
search()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected File indexFolder
protected File database
protected File query
protected int databaseSize
protected int querySize
protected boolean help
protected AbstractExampleGeneral.Mode mode
protected static Logger logger
Constructor Detail |
---|
public AbstractExampleGeneral(String[] args) throws IOException, OBStorageException, OBException, IllegalAccessException, InstantiationException, PivotsUnavailableException
IOException
OBStorageException
OBException
IllegalAccessException
InstantiationException
PivotsUnavailableException
Method Detail |
---|
public void init() throws IOException
IOException
protected abstract void create() throws FileNotFoundException, OBStorageException, OBException, IOException, IllegalAccessException, InstantiationException, PivotsUnavailableException
FileNotFoundException
OBStorageException
OBException
IOException
IllegalAccessException
InstantiationException
PivotsUnavailableException
protected abstract void search() throws FileNotFoundException, OBStorageException, NotFrozenException, IllegalAccessException, InstantiationException, OBException, IOException
FileNotFoundException
OBStorageException
NotFrozenException
IllegalAccessException
InstantiationException
OBException
IOException
protected abstract void intrinsic() throws IllegalIdException, IllegalAccessException, InstantiationException, OBException, FileNotFoundException, IOException
IllegalIdException
IllegalAccessException
InstantiationException
OBException
FileNotFoundException
IOException
public void doIt(String[] args) throws IOException, OBStorageException, OBException, IllegalAccessException, InstantiationException, PivotsUnavailableException
IOException
OBStorageException
OBException
IllegalAccessException
InstantiationException
PivotsUnavailableException
protected int read(byte[] buffer, InputStreamReader r) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |