Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes
A
B
C
D
E
F
G
I
M
N
O
P
R
S
T
U
A
addIndex(String, int, long, long)
- Method in class dict.prepare.
DictImport
Adds the given keyword and description to the map.
addIndex(String, int, long, long)
- Method in interface dict.prepare.
IDictParserHandler
Adds the given index.
addResult(String)
- Method in interface dict.common.
IResult
Adds the given string to the results.
addResult(String)
- Method in class dict.me.
BaseForm
Adding results must be implemented in derived classes.
addResult(String)
- Method in class dict.me.
DictForm
Shows the given result in the form.
addResult(String)
- Method in class dict.me.
SearchKeysForm
Appends the given result to the form.
B
BASEDIR
- Static variable in class dict.common.
DictIndex
Base directory for the dictionary index files.
BaseForm
- Class in
dict.me
Base class for forms used in the package.
BaseForm(DictMidlet, String)
- Constructor for class dict.me.
BaseForm
Initializes the form.
BUFLEN
- Static variable in class dict.prepare.
DictImport
Internal buffer length used for parsing files.
BUFLEN
- Static variable in class dict.prepare.
ParserBase
C
CLOSING
- Static variable in class dict.prepare.
DictParser
Characters closing strings to ignore while parsing for index.
CLOSING
- Static variable in class dict.prepare.
ThesParser
Ignore strings between OPENING and CLOSING.
commandAction(Command, Displayable)
- Method in class dict.me.
DictForm
Command actions.
commandAction(Command, Displayable)
- Method in class dict.me.
SearchKeysForm
Command actions.
commandAction(Command, Item)
- Method in class dict.me.
SearchKeysForm
Reaction for selecting an item.
conv(String, String, String, String, int)
- Static method in class dict.prepare.
DictImport
Copies source dictionary file to a set of destination dictionary files changing its character encoding and splitting the origin file.
D
DEFAULT
- Static variable in class dict.common.
DictType
Default dictionary type.
destroyApp(boolean)
- Method in class dict.me.
DictMidlet
Does absolutely nothing.
dict.common
- package dict.common
Classes used commonly for the index preparation and in the Java ME frontend.
dict.me
- package dict.me
Java ME and midlet specific code.
dict.prepare
- package dict.prepare
Package building the command line utility for desktop computers for preparing dictionary files in order to use them on JavaME driven devices.
DICTCC
- Static variable in class dict.common.
DictType
dict.cc dictionary type.
DictEntryRef
- Class in
dict.common
Reference to a dictionary entry in the dictionary file.
DictEntryRef(long, long, int)
- Constructor for class dict.common.
DictEntryRef
Initializes the entry for the given positions.
DictForm
- Class in
dict.me
The main dictionary form.
DictForm(DictMidlet)
- Constructor for class dict.me.
DictForm
Initializes the form.
DictImport
- Class in
dict.prepare
Builds files and a directory structure suitable for using a dictionary in a midlet.
DictImport(String, String, String)
- Constructor for class dict.prepare.
DictImport
Initializes the object for the given file name and dictionary type.
DictIndex
- Class in
dict.common
Dictionary index.
DictIndex()
- Constructor for class dict.common.
DictIndex
Initializes index for the index file INDEXFILE.
DictIndexBaseThread
- Class in
dict.common
Base class for various background threads handling dictionary index.
DictIndexBaseThread(DictIndex)
- Constructor for class dict.common.
DictIndexBaseThread
Initializes the class for the given dictionary index.
DictIndexLoadThread
- Class in
dict.common
Loads dictionary index file into memory in a background thread.
DictIndexLoadThread(DictIndex, IProgress)
- Constructor for class dict.common.
DictIndexLoadThread
Initializes the index loading thread for the given empty index.
DictIndexSearchThread
- Class in
dict.common
Thread for searching for keyword explanations in a background thread.
DictIndexSearchThread(DictIndex, String, IResult)
- Constructor for class dict.common.
DictIndexSearchThread
Initializes the thread for searching of the given keyword in the given dictionary index.
DictIndexSKeysThread
- Class in
dict.common
Thread for searching keywords basing on the pattern.
DictIndexSKeysThread(DictIndex, String, IResult)
- Constructor for class dict.common.
DictIndexSKeysThread
Initializes the thread for searching of the pattern.
DictMidlet
- Class in
dict.me
The dictionary midlet.
DictMidlet()
- Constructor for class dict.me.
DictMidlet
Initializes the midlet.
DictParser
- Class in
dict.prepare
Dict.cc dictionary file parser.
DictParser(IDictParserHandler)
- Constructor for class dict.prepare.
DictParser
Initializes the parser for the given handler.
DictType
- Class in
dict.common
Enumeration of dictionary types.
DictType()
- Constructor for class dict.common.
DictType
doSearch(String)
- Method in class dict.me.
DictForm
Starts searching for the given keyword.
doSearch()
- Method in class dict.me.
DictForm
Starts searching for the keyword explanations.
doSearch()
- Method in class dict.me.
SearchKeysForm
Starts searching for keywords.
doStop()
- Method in class dict.common.
DictIndexBaseThread
Stops the background job.
E
emptyForm()
- Method in class dict.me.
BaseForm
Deletes of contents of the form but the gauge.
emptyForm()
- Method in class dict.me.
DictForm
Initializes the layout of an empty form.
ENCODING
- Static variable in class dict.common.
DictType
F
fromString(String)
- Static method in class dict.common.
DictType
Converts the given name into the valid dictionary type ID.
G
get(String, IResult)
- Method in class dict.common.
DictIndex
Returns the descriptions for the given keyword.
get()
- Method in class dict.prepare.
DictImport
Returns the index created during the import process.
getBeg()
- Method in class dict.common.
DictEntryRef
The position of the begin of the entry.
getEncoding(int)
- Static method in class dict.prepare.
DictImport
Returns characted encoding for the input dictionary file.
getExcp()
- Method in class dict.common.
DictIndex
Returns last excpetion occured.
getFileNo()
- Method in class dict.common.
DictEntryRef
Returns the index number of the dictionary file.
getIndex()
- Method in class dict.me.
BaseForm
Returns dictionary index handled in this application.
getIndex()
- Method in class dict.me.
DictMidlet
Index for the dictionary handled in this application.
getInput()
- Method in class dict.me.
DictForm
Returns the keyword entered by the user.
getInstance(IDictParserHandler, int)
- Static method in class dict.prepare.
ParserBase
Returns an instance of the class handling the given type.
getkeys(String, IResult)
- Method in class dict.common.
DictIndex
Finds keys matching the given pattern.
getLen()
- Method in class dict.common.
DictEntryRef
The length of the entry in bytes.
I
IDictParserHandler
- Interface in
dict.prepare
Used for receiving index entries from the dictionary parser.
INDEX_SEPARATOR
- Static variable in class dict.prepare.
DictParser
Strings separating index from the explanation.
INDEX_SEPARATOR
- Static variable in class dict.prepare.
UDDLParser
Separates the keyword part from the translation.
INDEXFILE
- Static variable in class dict.common.
DictIndex
Name of the index description file.
init(IProgress)
- Method in class dict.common.
DictIndex
Initializes the index from the file.
IProgress
- Interface in
dict.common
Used for showing progress for long term operations like importing index.
IResult
- Interface in
dict.common
M
m_basedir
- Variable in class dict.prepare.
DictImport
Base directory for the resulting files.
m_beg
- Variable in class dict.common.
DictEntryRef
The position of the begin of the entry.
m_dictfilename
- Variable in class dict.common.
DictIndex
Names of dictionary files.
m_dstdictbasefn
- Variable in class dict.prepare.
DictImport
Pattern for basenames of the resulting UTF-8 dictionary files.
m_dstdictfullfn
- Variable in class dict.prepare.
DictImport
Pattern for full names of the resulting UTF-8 dictionary files.
m_excp
- Variable in class dict.common.
DictIndex
Exception occured while reading the index file.
m_fileno
- Variable in class dict.common.
DictEntryRef
Index number of the dictionary file for which this entry reference is designated.
m_form
- Variable in class dict.me.
DictMidlet
The main dictionary form.
m_gauge
- Variable in class dict.me.
BaseForm
For progress presentation.
m_goon
- Variable in class dict.common.
DictIndex
If the background thread has to be continued.
m_handler
- Variable in class dict.prepare.
ParserBase
Handler for retrieving extracted index keywords.
m_index
- Variable in class dict.common.
DictIndex
The index itself.
m_index
- Variable in class dict.common.
DictIndexBaseThread
Dictionary index to handle.
m_index
- Variable in class dict.me.
DictMidlet
Dictionary index.
m_index
- Variable in class dict.prepare.
DictImport
The map of imported dictionary entries.
m_input
- Variable in class dict.me.
DictForm
Input box for the keyword to search for.
m_keyword
- Variable in class dict.common.
DictIndexSearchThread
Index keyword to search for.
m_len
- Variable in class dict.common.
DictEntryRef
The length of the entry in bytes.
m_loadthr
- Variable in class dict.me.
DictForm
Thread for background loading.
m_parent
- Variable in class dict.me.
BaseForm
The parent midlet.
m_parentform
- Variable in class dict.me.
SearchKeysForm
The form to read the search pattern from and where to put the selected keyword into.
m_pattern
- Variable in class dict.common.
DictIndexSKeysThread
The pattern to search for.
m_progress
- Variable in class dict.common.
DictIndexLoadThread
For showing progress of the loading process.
m_reshd
- Variable in class dict.common.
DictIndexSearchThread
Handler for retrieving search results.
m_reshd
- Variable in class dict.common.
DictIndexSKeysThread
Handler for retrieving search results.
m_sb
- Variable in class dict.prepare.
ThesParser
Temporary buffer for building index keywords.
m_skform
- Variable in class dict.me.
DictForm
For for searching keywords.
m_srcdictfn
- Variable in class dict.prepare.
DictImport
The name of the dictionary file to import.
m_thr
- Variable in class dict.me.
DictForm
Thread for searching for keyword explanations.
m_thr
- Variable in class dict.me.
SearchKeysForm
The thread performing the search.
m_type
- Variable in class dict.common.
DictIndex
The type of the dictionary.
m_type
- Variable in class dict.prepare.
DictImport
The type of the dictionary file.
m_type
- Variable in class dict.prepare.
ParserBase
The dictionary type.
main(String[])
- Static method in class dict.prepare.
Prepare
The main entry point for the index preparation program.
MAXENTRIES
- Static variable in class dict.common.
DictIndex
Maximal number of entries to show.
MAXFILESIZE
- Static variable in class dict.prepare.
DictImport
Maximal size of a single file containing dictionary data.
MAXINPLEN
- Static variable in class dict.me.
DictForm
Maximum length of the keyword to search in characters.
message(Object)
- Method in class dict.me.
BaseForm
Prints the given message in an alert box.
mkpath(String)
- Static method in class dict.common.
DictIndex
Creates a path specific for the given keyword.
N
NAMES
- Static variable in class dict.common.
DictType
Names for dictionary types.
O
OPENING
- Static variable in class dict.prepare.
DictParser
Characters opening strings to ignore while parsing for index.
OPENING
- Static variable in class dict.prepare.
ThesParser
Ignore strings between OPENING and CLOSING.
P
ParserBase
- Class in
dict.prepare
Base class for classes implementing parsing of diverse dictionary files.
ParserBase(IDictParserHandler, int)
- Constructor for class dict.prepare.
ParserBase
Initialises the parser for the given handler and type.
pauseApp()
- Method in class dict.me.
DictMidlet
Does absolutely nothing.
Prepare
- Class in
dict.prepare
Main class for the index preparation program.
Prepare()
- Constructor for class dict.prepare.
Prepare
processLine(String, int, long, long)
- Method in class dict.prepare.
DictParser
Extracts index keywords from one line of the dictionary file.
processLine(String, int, long, long)
- Method in class dict.prepare.
ParserBase
Extracts index keywords from a single dictionary or thesaurus line.
processLine(String, int, long, long)
- Method in class dict.prepare.
ThesParser
Extracts index keywords from one line of the thesaurus file.
processLine(String, int, long, long)
- Method in class dict.prepare.
UDDLParser
Extracts index keywords from one line of the dictionary file.
progress(int)
- Method in interface dict.common.
IProgress
Called in order to tell the current progress.
progress(int)
- Method in class dict.me.
BaseForm
Shows progress of the background thread in the gauge.
R
read(InputStream, int)
- Method in class dict.prepare.
ParserBase
Extracts index keywords from the given stream.
readRelative(InputStream, int, DictEntryRef)
- Method in class dict.common.
DictEntryRef
Reads entry from the given stream at the position relative to the previous dict entry ref.
ready(String)
- Method in interface dict.common.
IProgress
Ready.
ready(String)
- Method in class dict.me.
BaseForm
Called if the backgroudn thread finishes.
run()
- Method in class dict.common.
DictIndexLoadThread
Implementation of the loading thread.
run()
- Method in class dict.common.
DictIndexSearchThread
Implementation of the searching thread.
run()
- Method in class dict.common.
DictIndexSKeysThread
Implementation of the search thread.
S
saveIdx(int)
- Method in class dict.prepare.
DictImport
Creates the index files and the index configuration file.
SearchKeysForm
- Class in
dict.me
Form showing keywords for a pattern.
SearchKeysForm(DictMidlet, DictForm)
- Constructor for class dict.me.
SearchKeysForm
Initializes the form and starts searching.
SEPARATORS
- Static variable in class dict.prepare.
DictParser
Characters separating index keywords from each other.
SEPARATORS
- Static variable in class dict.prepare.
ThesParser
Characters separating index keywords from eachother.
SEPARATORS
- Static variable in class dict.prepare.
UDDLParser
Separates keywors within the index part.
showForm(Form)
- Method in class dict.me.
BaseForm
Shows the given form.
start()
- Method in class dict.prepare.
DictImport
Does the whole job.
startApp()
- Method in class dict.me.
DictMidlet
Called if the application starts.
STARTLINE_IGNORE
- Static variable in class dict.prepare.
DictParser
Ignore lines starting with these characters.
STARTLINE_IGNORE
- Static variable in class dict.prepare.
ThesParser
Ignore lines starting with these characters.
stop()
- Method in class dict.common.
DictIndex
Stops any presently active operations.
T
THES
- Static variable in class dict.common.
DictType
Polish and German thesaurus.
ThesParser
- Class in
dict.prepare
Thesaurus file parser.
ThesParser(IDictParserHandler)
- Constructor for class dict.prepare.
ThesParser
Initializes the parser for the given handler.
toString(int)
- Static method in class dict.common.
DictType
Converts the given type to a string value
U
UDDL
- Static variable in class dict.common.
DictType
UDDL text file dictionary type.
UDDLParser
- Class in
dict.prepare
UDDL dictionary file parser.
UDDLParser(IDictParserHandler)
- Constructor for class dict.prepare.
UDDLParser
Initializes the parser for the given handler.
usage()
- Static method in class dict.prepare.
Prepare
Prints usage info to stderr.
A
B
C
D
E
F
G
I
M
N
O
P
R
S
T
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
All Classes