Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
I
L
M
N
O
R
S
T
A
accept(File, String)
- Method in class net.sf.dictccfe.and.
IdxLoader.DictDbFnFilter
Accepts index database files.
accept(File, String)
- Method in class net.sf.dictccfe.and.
IdxLoader.DictIdxFnFilter
Accepts dictionary index files.
addResult(CharSequence)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Called for single results found while searching.
addResult(CharSequence)
- Method in interface net.sf.dictccfe.and.
ISearchResult
Called if the search engine returns a single result.
assureDir(File)
- Static method in class net.sf.dictccfe.and.
IdxLoader
Assures that parent directories for the given file will be created.
C
CREATE_SQLS
- Static variable in class net.sf.dictccfe.and.
IdxLoader
SQL strings executed prior to inserting data into the table.
D
DB_SUFF
- Static variable in class net.sf.dictccfe.and.
IdxLoader
File extension for database files.
DICT_DIR
- Static variable in class net.sf.dictccfe.and.
IdxLoader
Directory where the files reside.
DictAndActivity
- Class in
net.sf.dictccfe.and
Main android app class.
DictAndActivity()
- Constructor for class net.sf.dictccfe.and.
DictAndActivity
The constructor initializes local variables.
DictAndActivity.DictSelector
- Class in
net.sf.dictccfe.and
Listener for the dialog box for selecting or loading the dictionary.
DictAndActivity.DictSelector(DictAndActivity, String[], boolean)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.DictSelector
Initializes an empty listener.
DictAndActivity.ExcpShower
- Class in
net.sf.dictccfe.and
For showing the given exception from a background thread.
DictAndActivity.ExcpShower(Context)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.ExcpShower
Initializes an empty object for the given context.
DictAndActivity.ListViewKeyListener
- Class in
net.sf.dictccfe.and
Exact searching if the D-Pad center or Enter key has been pressed in the ListView in the lower part of the window.
DictAndActivity.ListViewKeyListener(DictAndActivity)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.ListViewKeyListener
Initializes the object for the given activity.
DictAndActivity.LVUpdater
- Class in
net.sf.dictccfe.and
Used for updating the list view.
DictAndActivity.LVUpdater(ArrayAdapter<CharSequence>)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.LVUpdater
Initializes the class with the given adapter.
DictAndActivity.ProgrShower
- Class in
net.sf.dictccfe.and
DictAndActivity.ProgrShower(Context)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
Initializes an empty object for the given context.
DictAndActivity.TextViewKeyListener
- Class in
net.sf.dictccfe.and
Calls search exact if the D-Pad center or Enter key has been pressed in the TextView above.
DictAndActivity.TextViewKeyListener(DictAndActivity)
- Constructor for class net.sf.dictccfe.and.
DictAndActivity.TextViewKeyListener
Initializes the object for the given activity.
DICTDBFNFILTER
- Static variable in class net.sf.dictccfe.and.
IdxLoader
Filename filter for index database files.
DICTIDXFNFILTER
- Static variable in class net.sf.dictccfe.and.
IdxLoader
Filename filter for dictionary index files.
dosearch(SQLiteDatabase, CharSequence, ISearchResult)
- Method in class net.sf.dictccfe.and.
Search
The real implementation of the searching algorithm.
dosearch(SQLiteDatabase, CharSequence, ISearchResult)
- Method in class net.sf.dictccfe.and.
SearchExact
Implementation of the exact search for keyword descriptions.
dosearch(SQLiteDatabase, CharSequence, ISearchResult)
- Method in class net.sf.dictccfe.and.
SearchSimilar
Implementation of the searching for similar keywords.
E
endProgress(int)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Closes the progress showing gauge window.
endProgress(int)
- Method in interface net.sf.dictccfe.and.
IProgress
Called on the end of the process for which the progress is shown.
endResults()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Called if a search engine starts returning results.
endResults()
- Method in interface net.sf.dictccfe.and.
ISearchResult
Called if the search engine is ready with searching.
G
getAvailableDictionaries()
- Static method in class net.sf.dictccfe.and.
IdxLoader
Returns a list of dictionary index files.
getCharSet(int)
- Static method in class net.sf.dictccfe.and.
IdxLoader
Returns the character set name for the given dictionary type.
getDbFile(CharSequence)
- Static method in class net.sf.dictccfe.and.
IdxLoader
Returns the name of the database file for the given dictionary name.
getDbFile()
- Method in class net.sf.dictccfe.and.
IdxLoader
Returns the name of the resulting database file.
getDictConfig()
- Method in class net.sf.dictccfe.and.
Search
Returns the configuration of the dictionary index database.
getDictEnc()
- Method in class net.sf.dictccfe.and.
Search.DictConfig
Returns the name of the dictionary encoding.
getDictFile()
- Method in class net.sf.dictccfe.and.
Search.DictConfig
Returns the name of the dictionary file.
getDictFile(String)
- Static method in class net.sf.dictccfe.and.
Search
Returns the full path of the dictionary file.
getDictType()
- Method in class net.sf.dictccfe.and.
Search.DictConfig
Returns the dictionary type.
getGoon()
- Method in class net.sf.dictccfe.and.
Thr
If the background job has to continue.
getIdxFile(CharSequence)
- Static method in class net.sf.dictccfe.and.
IdxLoader
Returns the name of the dictionary index file for the given dictionary name.
getLoadedDictionaries()
- Static method in class net.sf.dictccfe.and.
IdxLoader
Returns a list of dictionary index databases.
I
IDX_SUFF
- Static variable in class net.sf.dictccfe.and.
IdxLoader
File extension for dictionary index files.
IdxLoader
- Class in
net.sf.dictccfe.and
Creates a dictionary index database.
IdxLoader(CharSequence, IProgress)
- Constructor for class net.sf.dictccfe.and.
IdxLoader
Initializes the object for a creation of an index database for the given dictionary name.
IdxLoader.DictDbFnFilter
- Class in
net.sf.dictccfe.and
Filename filter for index database files.
IdxLoader.DictDbFnFilter()
- Constructor for class net.sf.dictccfe.and.
IdxLoader.DictDbFnFilter
IdxLoader.DictIdxFnFilter
- Class in
net.sf.dictccfe.and
Filename filter for dictionary index files.
IdxLoader.DictIdxFnFilter()
- Constructor for class net.sf.dictccfe.and.
IdxLoader.DictIdxFnFilter
IdxLoader.WrngIdxFileException
- Exception in
net.sf.dictccfe.and
Exception for a wrong index file format.
IdxLoader.WrngIdxFileException()
- Constructor for exception net.sf.dictccfe.and.
IdxLoader.WrngIdxFileException
Initializes the exception object.
INSERT_SQLS
- Static variable in class net.sf.dictccfe.and.
IdxLoader
Insert statements.
IProgress
- Interface in
net.sf.dictccfe.and
Interface for showing progress of an operation.
ISearchResult
- Interface in
net.sf.dictccfe.and
Interface used by the search engine for returining results.
L
loadDictionary()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Creates a submenu allowing the user to load a dictionary.
loadDictionary(String)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts loading the dictionary index file.
M
m_activity
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ListViewKeyListener
The activity object to execute actions on it for pressed keys.
m_activity
- Variable in class net.sf.dictccfe.and.
DictAndActivity.TextViewKeyListener
The activity object to execute actions on it for pressed keys.
m_adapter
- Variable in class net.sf.dictccfe.and.
DictAndActivity.LVUpdater
The adapter to update.
m_cfg
- Variable in class net.sf.dictccfe.and.
Search
Dictionary configuration.
m_context
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ExcpShower
The context on which to show the dialog with the exception.
m_context
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
The context on which to show the progress dialog.
m_db
- Variable in class net.sf.dictccfe.and.
DictAndActivity
The dictionary index database.
m_db
- Variable in class net.sf.dictccfe.and.
Search
The dictionary index database.
m_dbfile
- Variable in class net.sf.dictccfe.and.
IdxLoader
The name of the database file created.
m_dialog
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
The progress dialog window.
m_dictandactivity
- Variable in class net.sf.dictccfe.and.
DictAndActivity.DictSelector
Calls method for loading the selected dictionary.
m_dictenc
- Variable in class net.sf.dictccfe.and.
Search.DictConfig
The dictionary encoding.
m_dictfile
- Variable in class net.sf.dictccfe.and.
Search.DictConfig
The dictionary file.
m_dictname
- Variable in class net.sf.dictccfe.and.
DictAndActivity
The name of the dictionary currently used.
m_dicttype
- Variable in class net.sf.dictccfe.and.
Search.DictConfig
The dictionary type.
m_doclose
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
If the progress window has to be closed.
m_excp
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ExcpShower
The exception to show.
m_excpshow
- Variable in class net.sf.dictccfe.and.
DictAndActivity
Used for showing exceptions from possibly background threads.
m_goon
- Variable in class net.sf.dictccfe.and.
Thr
If the background job has to continue.
m_handler
- Variable in class net.sf.dictccfe.and.
DictAndActivity
For doing UI operations from background threads.
m_hlpbuf
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
Help buffer for strings shown in the dialog.
m_idxfile
- Variable in class net.sf.dictccfe.and.
IdxLoader
The name of the index file to import.
m_idxloader
- Variable in class net.sf.dictccfe.and.
DictAndActivity
For loading the index files into the dictionary index database.
m_items
- Variable in class net.sf.dictccfe.and.
DictAndActivity.DictSelector
The dictionary names shown in the dialog.
m_keyword
- Variable in class net.sf.dictccfe.and.
Search
The keyword to search.
m_loadorselect
- Variable in class net.sf.dictccfe.and.
DictAndActivity.DictSelector
true for loading a dictionary and false for selecting one.
m_lvupdater
- Variable in class net.sf.dictccfe.and.
DictAndActivity
Results ListView updater.
m_prefs
- Variable in class net.sf.dictccfe.and.
DictAndActivity
The last configuration used by the application.
m_progress
- Variable in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
The progress in percents to show.
m_progress
- Variable in class net.sf.dictccfe.and.
IdxLoader
For showing the progress of the import process.
m_progrshow
- Variable in class net.sf.dictccfe.and.
DictAndActivity
For showing a progress of a background application.
m_resultarr
- Variable in class net.sf.dictccfe.and.
DictAndActivity
Array of search results, The list view is synchronized with this array.
m_searchresult
- Variable in class net.sf.dictccfe.and.
Search
The callback for results.
m_srch
- Variable in class net.sf.dictccfe.and.
DictAndActivity
The search engine.
m_thr
- Variable in class net.sf.dictccfe.and.
Thr
The thread running the background job.
N
net.sf.dictccfe.and
- package net.sf.dictccfe.and
Implementation of the forntend software for dict.cc, UDDL dictionaries and thesaurus files for Android.
NUMINSTRANS
- Static variable in class net.sf.dictccfe.and.
IdxLoader
Number of inserts pro transaction.
O
onCancel(DialogInterface)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Called if the progress dialog is cancelled.
onClick(DialogInterface, int)
- Method in class net.sf.dictccfe.and.
DictAndActivity.DictSelector
The click listener.
onCreate(Bundle)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Called when the activity is first created.
onCreateOptionsMenu(Menu)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Creates the application menu.
onDestroy()
- Method in class net.sf.dictccfe.and.
DictAndActivity
onItemClick(AdapterView<?>, View, int, long)
- Method in class net.sf.dictccfe.and.
DictAndActivity.ListViewKeyListener
Called if the item in the ListView has been selected.
onKey(View, int, KeyEvent)
- Method in class net.sf.dictccfe.and.
DictAndActivity.TextViewKeyListener
Calls exact searching for the given activity.
onLowMemory()
- Method in class net.sf.dictccfe.and.
DictAndActivity
onOptionsItemSelected(MenuItem)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Reacts on menu selections.
onStop()
- Method in class net.sf.dictccfe.and.
DictAndActivity
opendb(CharSequence)
- Static method in class net.sf.dictccfe.and.
IdxLoader
Opens a dictionary index database for the given dictionary name.
R
readInt(InputStream, byte[])
- Static method in class net.sf.dictccfe.and.
IdxLoader
Reads an integer number from the given stream.
readShort(InputStream, byte[])
- Static method in class net.sf.dictccfe.and.
IdxLoader
Reads a short integer number from the gven stream.
run()
- Method in class net.sf.dictccfe.and.
DictAndActivity.ExcpShower
Shows the exception in a separate dialog.
run()
- Method in class net.sf.dictccfe.and.
DictAndActivity.LVUpdater
Updates the adapter.
run()
- Method in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
Does the whole job.
run()
- Method in class net.sf.dictccfe.and.
IdxLoader
Does the whole import job.
run()
- Method in class net.sf.dictccfe.and.
Search
Searches for keywords or descriptions.
run()
- Method in class net.sf.dictccfe.and.
Thr
Implements the job executed in the background.
S
Search
- Class in
net.sf.dictccfe.and
Base class for exact and similar searching.
Search()
- Constructor for class net.sf.dictccfe.and.
Search
Initializes an empty object.
search(CharSequence, ISearchResult)
- Method in class net.sf.dictccfe.and.
Search
Searches for the keyword.
Search.DictConfig
- Class in
net.sf.dictccfe.and
Dictionary configuration.
Search.DictConfig(SQLiteDatabase)
- Constructor for class net.sf.dictccfe.and.
Search.DictConfig
Sets the object from the configuration table of the given database.
searchexact(CharSequence)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts exact searching for a description of a keyword.
SearchExact
- Class in
net.sf.dictccfe.and
Exact searching for keyword descriptions.
SearchExact()
- Constructor for class net.sf.dictccfe.and.
SearchExact
searchexactlv(int)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts exact searching for the description in the list view control.
searchexacttv()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts exact searching for the description in the text view control.
searchsimilar()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts similar searching for the description in the text view control.
searchsimilar(CharSequence)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts searching for similar keywords.
SearchSimilar
- Class in
net.sf.dictccfe.and
Exact searching for keywords similar to the given one.
SearchSimilar()
- Constructor for class net.sf.dictccfe.and.
SearchSimilar
Initializes an empty object.
selectDictionary()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Creates a submenu allowing the user to select a loaded dictionary.
selectDictionary(String)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Selects a dictionary with the given name.
setDb(SQLiteDatabase)
- Method in class net.sf.dictccfe.and.
Search
Sets the dictionary index database.
setDialog(ProgressDialog)
- Method in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
Sets the progress dialog.
setExcp(Exception)
- Method in class net.sf.dictccfe.and.
DictAndActivity.ExcpShower
Sets the exception to show.
setProgr(int, boolean)
- Method in class net.sf.dictccfe.and.
DictAndActivity.ProgrShower
Sets the progress operation.
showException(Exception)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Shows exception in a separate dialog window.
showException(Exception)
- Method in interface net.sf.dictccfe.and.
IProgress
Show the given error.
showException(Exception)
- Method in interface net.sf.dictccfe.and.
ISearchResult
Shows the given exception.
showProgress(int)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Shows progress in a progress showing gauge window.
showProgress(int)
- Method in interface net.sf.dictccfe.and.
IProgress
Called on the progress of the operation.
start()
- Method in class net.sf.dictccfe.and.
Thr
Starts the background job.
startProgress(int)
- Method in class net.sf.dictccfe.and.
DictAndActivity
Starts a progress showing gauge window.
startProgress(int)
- Method in interface net.sf.dictccfe.and.
IProgress
Called on the start of the process for which the progress is shown.
startResults()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Called if a search engine starts returning results.
startResults()
- Method in interface net.sf.dictccfe.and.
ISearchResult
Called just after the search engine starts.
stop()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Stops any currently running background operations.
stop()
- Method in class net.sf.dictccfe.and.
Thr
Stops the background job.
stopall()
- Method in class net.sf.dictccfe.and.
DictAndActivity
Stops currently running background jobs and closes the dictionary.
T
Thr
- Class in
net.sf.dictccfe.and
Basic class for implementing and controlling background jobs.
Thr()
- Constructor for class net.sf.dictccfe.and.
Thr
Initializes an empty object of this class.
A
C
D
E
G
I
L
M
N
O
R
S
T
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes