A C D E F G H I J K L M N O P R S T U V W

A

addTranslation(TranslationEntry) - Method in class de.olafpanz.translationtable.TranslationDocument
Add a translation key
ASCIIFilterWriter - Class in de.olafpanz.translationtable
Filters unicodes out and write them as \\uXXXX.
ASCIIFilterWriter(Writer) - Constructor for class de.olafpanz.translationtable.ASCIIFilterWriter
Create new instance

C

classComment - Variable in class de.olafpanz.translationtable.TranslationDocument
Comment for generated class.
className - Variable in class de.olafpanz.translationtable.TranslationDocument
Class base name.
close() - Method in class de.olafpanz.translationtable.ASCIIFilterWriter
Delegate to next in pipe.
cmp(String, String) - Method in class de.olafpanz.translationtable.LocaleDef
Compare 2 strings allowing null.
CodeGenerator - Class in de.olafpanz.translationtable
This represents one translation table read from ots file.
CodeGenerator(TranslationDocument, TranslationTableParameters) - Constructor for class de.olafpanz.translationtable.CodeGenerator
Create a translation table with all meta information, without data.
collectImports(Set<String>, int, TranslationDocument) - Method in class de.olafpanz.translationtable.TranslationEntry
Collect all used imports
CommandFacade - Class in de.olafpanz.translationtable
Implements tool commands.
CommandFacade() - Constructor for class de.olafpanz.translationtable.CommandFacade
 
compareTo(LocaleDef) - Method in class de.olafpanz.translationtable.LocaleDef
 
compareTo(TranslationEntry) - Method in class de.olafpanz.translationtable.TranslationEntry
Compare with another translation entry by key.
CONTENT_NAME - Static variable in class de.olafpanz.translationtable.ODSLoader
Name of the content file within the ods file.
convert(String) - Static method in class de.olafpanz.translationtable.ASCIIFilterWriter
Convert string to unicode.
convert2Character(String) - Method in class de.olafpanz.translationtable.TranslationEntry
Convert a declarative string to code that creates a character.
convert2KeyStroke(String) - Method in class de.olafpanz.translationtable.TranslationEntry
Convert a descriptive string to a key stroke define.
create14AccessMethod(PrintWriter, String, String) - Method in class de.olafpanz.translationtable.CodeGenerator
Create an access method for param.getJdk() 1.4
create15AccessMethod(PrintWriter, TranslationDataType, String, String) - Method in class de.olafpanz.translationtable.CodeGenerator
Create an access method for param.getJdk() 1.5
createCode(TranslationTableParameters) - Static method in class de.olafpanz.translationtable.CommandFacade
Create translations tables for one file
createEmumMethods(PrintWriter, TranslationDataType) - Method in class de.olafpanz.translationtable.CodeGenerator
Create helper methods of an key-enumeration
createEnumInterface(File) - Method in class de.olafpanz.translationtable.CodeGenerator
Create interface with keys for all translations
createFiles() - Method in class de.olafpanz.translationtable.CodeGenerator
Create all necessary files.
createKey(TranslationDataType, String, String) - Static method in class de.olafpanz.translationtable.TranslationEntry
Create a key from type and plan key.
createKeyInterface(File) - Method in class de.olafpanz.translationtable.CodeGenerator
Create interface with keys for all translations
createManager(File, String) - Method in class de.olafpanz.translationtable.CodeGenerator
Create the translation manager for the specified environment.
createMapLocaleMethod(PrintWriter) - Method in class de.olafpanz.translationtable.CodeGenerator
Create code that evaluates the right resource bundle.
createPluginProperties(int) - Method in class de.olafpanz.translationtable.CodeGenerator
Do create plugin property files.
createResourceFile(File, int, String) - Method in class de.olafpanz.translationtable.CodeGenerator
Create resource file for one language

D

de.olafpanz.translationtable - package de.olafpanz.translationtable
 
defaults - Variable in class de.olafpanz.translationtable.TranslationTableParameters
Marks values that have currently the default value.
desc - Variable in class de.olafpanz.translationtable.TranslationEntry
Description of this entry
doc - Variable in class de.olafpanz.translationtable.CodeGenerator
Document to create source for.
doc - Variable in class de.olafpanz.translationtable.ODSLoader
The document to process.

E

ENCODING - Static variable in class de.olafpanz.translationtable.CodeGenerator
File encoding.
env - Variable in class de.olafpanz.translationtable.TranslationTableParameters
Environment to generate for.
Environment - Enum in de.olafpanz.translationtable
Defines the environment: client or server.
Environment() - Constructor for enum de.olafpanz.translationtable.Environment
 
execute() - Method in class de.olafpanz.translationtable.I18NTask
Do execute the ant task.
execute() - Method in class de.olafpanz.translationtable.SvnReleaseTask
Do filter
exportXML(TranslationTableParameters, File) - Static method in class de.olafpanz.translationtable.CommandFacade
Export translation table specified in parameters to given file as xml.

F

file - Variable in class de.olafpanz.translationtable.TranslationTableParameters
Name of ods or xml source-file to process.
flush() - Method in class de.olafpanz.translationtable.ASCIIFilterWriter
Delegate to next in pipe.

G

getClassComment() - Method in class de.olafpanz.translationtable.TranslationDocument
 
getClassName() - Method in class de.olafpanz.translationtable.TranslationDocument
 
getDefaultLocale() - Method in class de.olafpanz.translationtable.TranslationDocument
The default locale is the locale that is used if no specific translations exists for a locale
getDesc() - Method in class de.olafpanz.translationtable.TranslationEntry
 
getEnvironment() - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
getFile() - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
getGroup() - Method in class de.olafpanz.translationtable.TranslationEntry
 
getGroupKey() - Method in class de.olafpanz.translationtable.TranslationEntry
Return combination of group and key
getIndex(List<LocaleDef>, Locale) - Static method in class de.olafpanz.translationtable.TranslationDocument
Search for an locale within a list of LocaleDef
getJavaDoc(List<LocaleDef>, String, TranslationDocument) - Method in class de.olafpanz.translationtable.TranslationEntry
Create java doc comment of this entry.
getJdk() - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
getKey() - Method in class de.olafpanz.translationtable.TranslationEntry
 
getLocale() - Method in class de.olafpanz.translationtable.LocaleDef
 
getLocales() - Method in class de.olafpanz.translationtable.TranslationDocument
List of supported locales in order or usage in data.
getName() - Method in class de.olafpanz.translationtable.TranslationDocument
 
getPackageName() - Method in class de.olafpanz.translationtable.TranslationDocument
 
getPlainKey() - Method in class de.olafpanz.translationtable.TranslationEntry
This is the key without type prefix
getPrefix() - Method in enum de.olafpanz.translationtable.TranslationDataType
 
getRawTranslationString(int, TranslationDocument) - Method in class de.olafpanz.translationtable.TranslationEntry
Request the raw translation string for a language at an index position.
getRcpPluginRoot() - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
getSourceRoot() - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
getTemplateLocale() - Method in class de.olafpanz.translationtable.LocaleDef
 
getTemplateLocaleIndex(int) - Method in class de.olafpanz.translationtable.TranslationDocument
Returns index of template locale
getTranslations() - Method in class de.olafpanz.translationtable.TranslationDocument
All translation entries.
getTranslations() - Method in class de.olafpanz.translationtable.TranslationEntry
 
getType() - Method in class de.olafpanz.translationtable.TranslationEntry
 
getValueAsString(int, TranslationDocument) - Method in class de.olafpanz.translationtable.TranslationEntry
Evaluate the string that should be written to file for a given index.
group - Variable in class de.olafpanz.translationtable.TranslationEntry
A translation entry might belong to a group.

H

hasBundle() - Method in class de.olafpanz.translationtable.TranslationDocument
Check, if at least one Bundle-Translation exists
hasRCP() - Method in class de.olafpanz.translationtable.TranslationDocument
Check, if at least one RCP-Translation exists

I

I18NTask - Class in de.olafpanz.translationtable
Privde I18N code generator as ant task.
I18NTask() - Constructor for class de.olafpanz.translationtable.I18NTask
 
infoText - Variable in class de.olafpanz.translationtable.SvnReleaseTask
Text result from svn info
isComplete() - Method in class de.olafpanz.translationtable.TranslationTableParameters
Check, if all parameters are set
isDefault() - Method in class de.olafpanz.translationtable.LocaleDef
 
isInResourceBundle - Variable in enum de.olafpanz.translationtable.TranslationDataType
True, if this element is part of resource bundle.
isInResourceBundle() - Method in enum de.olafpanz.translationtable.TranslationDataType
 
isMaster - Variable in class de.olafpanz.translationtable.LocaleDef
Marks the master locale of current table

J

jdk - Variable in class de.olafpanz.translationtable.TranslationTableParameters
JDK to generate for.
JDKDefine - Enum in de.olafpanz.translationtable
Define JDK for that the translation manager is built
JDKDefine() - Constructor for enum de.olafpanz.translationtable.JDKDefine
 

K

key - Variable in class de.olafpanz.translationtable.TranslationEntry
Key to this entry

L

load() - Method in class de.olafpanz.translationtable.ODSLoader
Create translations tables for one file
loadDocuments(TranslationTableParameters) - Static method in class de.olafpanz.translationtable.CommandFacade
Load all currently specified translation-table-documents
loadXml(File) - Static method in class de.olafpanz.translationtable.CommandFacade
Load translation table from xml file.
locale - Variable in class de.olafpanz.translationtable.LocaleDef
The locale of this definition
LocaleDef - Class in de.olafpanz.translationtable
Defines a locale for the TranslationDocument
LocaleDef(Locale, Locale, boolean) - Constructor for class de.olafpanz.translationtable.LocaleDef
Create new locale definition
locales - Variable in class de.olafpanz.translationtable.TranslationDocument
List of supported locales in order or usage in data.

M

main(String[]) - Static method in class de.olafpanz.translationtable.TranslationTableMain
Specify the sheet document to (.ods) as first parameter

N

name - Variable in class de.olafpanz.translationtable.TranslationDocument
Base name of table within multi-table file.

O

ODSLoader - Class in de.olafpanz.translationtable
Create translation files from .odt table: - Interface that defines all translation keys.
ODSLoader(TranslationTableParameters) - Constructor for class de.olafpanz.translationtable.ODSLoader
Create new class to create the translation table.

P

packageName - Variable in class de.olafpanz.translationtable.TranslationDocument
Name of package.
param - Variable in class de.olafpanz.translationtable.CodeGenerator
Code creation parameters.
param - Variable in class de.olafpanz.translationtable.ODSLoader
Parameters for creation.
params - Variable in class de.olafpanz.translationtable.I18NTask
Parameters to create translation tables.
prefix - Variable in enum de.olafpanz.translationtable.TranslationDataType
The prefix, needed for generation
printHelp() - Static method in class de.olafpanz.translationtable.TranslationTableMain
Print help text for command line interface

R

rcpPluginRoot - Variable in class de.olafpanz.translationtable.TranslationTableParameters
Root of rcp plugin, used to write eclipse-rcp translations
readCellValue(NodeList, int, int) - Method in class de.olafpanz.translationtable.ODSLoader
Read a column from a given row.
readSheet() - Method in class de.olafpanz.translationtable.ODSLoader
Read the all pages from document.
readTable(Element) - Method in class de.olafpanz.translationtable.ODSLoader
Process one table
resultVariable - Variable in class de.olafpanz.translationtable.SvnReleaseTask
Name of result variable.

S

setDefault() - Method in class de.olafpanz.translationtable.TranslationTableParameters
Set default values for all parameters
setDefaultRcpPluginRoot(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
Set the default rcp plugin path, call will not change defaults-flags
setDefaultSourceRoot(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
Set default source root from given plugin root.
setEnvironment(String) - Method in class de.olafpanz.translationtable.I18NTask
Set the environment (client/server).
setEnvironment(Environment) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
setInfoText(String) - Method in class de.olafpanz.translationtable.SvnReleaseTask
 
setJDK(String) - Method in class de.olafpanz.translationtable.I18NTask
Set jdk to create source code for,
setJdk(JDKDefine) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
setOds(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
setODSFile(String) - Method in class de.olafpanz.translationtable.I18NTask
Set the file that should be executed.
setRcpPluginRoot(String) - Method in class de.olafpanz.translationtable.I18NTask
Set root of rcp plugin.
setRcpPluginRoot(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
setResultVariable(String) - Method in class de.olafpanz.translationtable.SvnReleaseTask
 
setSourceRoot(String) - Method in class de.olafpanz.translationtable.I18NTask
Set root path.
setSourceRoot(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
setXml(File) - Method in class de.olafpanz.translationtable.TranslationTableParameters
 
SORT_BY_TYPE_COMPARATOR - Static variable in class de.olafpanz.translationtable.CodeGenerator
Compare translation entries by its type
sourceRoot - Variable in class de.olafpanz.translationtable.TranslationTableParameters
Root of source code that should be generated.
SvnReleaseTask - Class in de.olafpanz.translationtable
Privde I18N code generator as ant task.
SvnReleaseTask() - Constructor for class de.olafpanz.translationtable.SvnReleaseTask
 

T

templateLocale - Variable in class de.olafpanz.translationtable.LocaleDef
Use translation from this locale, if no value exists.
templateLocales - Variable in class de.olafpanz.translationtable.TranslationDocument
Default locales of locale, positions correspond to TranslationDocument.locales.
toLocale(String) - Static method in class de.olafpanz.translationtable.ODSLoader
Create locale from string
toString() - Method in class de.olafpanz.translationtable.LocaleDef
 
toString() - Method in class de.olafpanz.translationtable.TranslationEntry
Debug only
toXML(List<TranslationDocument>) - Static method in class de.olafpanz.translationtable.CommandFacade
Convert a translation-document into aa xml-document
TranslationDataType - Enum in de.olafpanz.translationtable
Defines all type of translations.
TranslationDataType(String, boolean) - Constructor for enum de.olafpanz.translationtable.TranslationDataType
Create a data type
TranslationDocument - Class in de.olafpanz.translationtable
Contains a loaded translation document.
TranslationDocument(String, String, String, String, List<LocaleDef>) - Constructor for class de.olafpanz.translationtable.TranslationDocument
Create new document
TranslationEntry - Class in de.olafpanz.translationtable
Contains one translation entry.
TranslationEntry(String, String, TranslationDataType, String, List<String>) - Constructor for class de.olafpanz.translationtable.TranslationEntry
Create a translation entry
translations - Variable in class de.olafpanz.translationtable.TranslationDocument
All translation entries.
translations - Variable in class de.olafpanz.translationtable.TranslationEntry
List of translation, is corresponding to locales in TranslationTable.
TranslationTableMain - Class in de.olafpanz.translationtable
Create translation files from .odt table: - Interface that defines all translation keys.
TranslationTableMain() - Constructor for class de.olafpanz.translationtable.TranslationTableMain
 
TranslationTableMain.ArgumentState - Enum in de.olafpanz.translationtable
States when arguments are read
TranslationTableMain.ArgumentState() - Constructor for enum de.olafpanz.translationtable.TranslationTableMain.ArgumentState
 
TranslationTableParameters - Class in de.olafpanz.translationtable
Handles parameters for translation table code generator.
TranslationTableParameters() - Constructor for class de.olafpanz.translationtable.TranslationTableParameters
Create class with defaults.
TranslationTableParameters(Environment, JDKDefine, File, File, File) - Constructor for class de.olafpanz.translationtable.TranslationTableParameters
Init with all parameters.
TranslationTableParameters.DefaultFlags - Enum in de.olafpanz.translationtable
Flags that describes currently set default values
TranslationTableParameters.DefaultFlags() - Constructor for enum de.olafpanz.translationtable.TranslationTableParameters.DefaultFlags
 
type - Variable in class de.olafpanz.translationtable.TranslationEntry
Type of this entry

U

usedTypes - Variable in class de.olafpanz.translationtable.CodeGenerator
This structure is filled with types in use.

V

valueOf(String) - Static method in enum de.olafpanz.translationtable.Environment
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.olafpanz.translationtable.JDKDefine
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.olafpanz.translationtable.TranslationDataType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.olafpanz.translationtable.TranslationTableMain.ArgumentState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum de.olafpanz.translationtable.TranslationTableParameters.DefaultFlags
Returns the enum constant of this type with the specified name.
values() - Static method in enum de.olafpanz.translationtable.Environment
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.olafpanz.translationtable.JDKDefine
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.olafpanz.translationtable.TranslationDataType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.olafpanz.translationtable.TranslationTableMain.ArgumentState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum de.olafpanz.translationtable.TranslationTableParameters.DefaultFlags
Returns an array containing the constants of this enum type, in the order they are declared.

W

write(char[], int, int) - Method in class de.olafpanz.translationtable.ASCIIFilterWriter
Filter and Delegate to next in pipe.
writer - Variable in class de.olafpanz.translationtable.ASCIIFilterWriter
Next writer in pipe.

A C D E F G H I J K L M N O P R S T U V W