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

A

add(RegExReplacer.DescriptionEntry) - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
own add-method that either adds a new description to the description list or modifies an existing description (increasing the rating of the existing description entry, modify the elementDescriptionList).
add(String, int) - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
add-method for descriptions of single replacements.
add(String, RegExReplacer.DescriptionList) - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
add-method for descriptions of replacement groups.
add(ConfigEntry) - Method in class net.sf.jeters.configuration.Configuration
adds an entry to the configuration
add(ConfigEntry[]) - Method in class net.sf.jeters.configuration.Configuration
adds all entries from an array to the configuration
addAll(Collection<? extends RegExReplacer.DescriptionEntry>) - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
own addAll-method that calls add(DescriptionEntry) for all elements of the collection
addEntriesFrom(Configuration, boolean) - Method in class net.sf.jeters.configuration.Configuration
adds entries from another configuration to this.
addJarsToClasspath() - Method in class net.sf.jeters.core.ComponentClassLoader
adds all jars in the componentDirectory to the loader's classpath
addToClasspath(File) - Method in class net.sf.jeters.core.ComponentClassLoader
adds a file/directory to the loader's classpath
apply(String) - Method in class net.sf.jeters.components.RegExReplacer.CustomReplacement
the method containing the replacement's functionality
applyReplacementGroup(RegExReplacer.ReplacementGroup, String, RegExReplacer.DescriptionList) - Method in class net.sf.jeters.components.RegExReplacer
applies a group of replacements on a given string and returns the result.
applyReplacementList(ArrayList<RegExReplacer.ReplacementElement>, String, RegExReplacer.DescriptionList) - Method in class net.sf.jeters.components.RegExReplacer
applies a list of replacements on a given string and returns the result.
applySingleReplacement(RegExReplacer.Replacement, String, RegExReplacer.DescriptionList) - Method in class net.sf.jeters.components.RegExReplacer
applies a single replacement on a given string and returns the result.
AssistedComponent - Class in net.sf.jeters.util
superclass offering the combined benefits of AssistedConfigurable and AssistedTranslatable
AssistedComponent() - Constructor for class net.sf.jeters.util.AssistedComponent
 
AssistedConfigurable - Class in net.sf.jeters.util
this class offers its subclasses a convenient way to handle configurations that makes dealing with Configurations and ConfigEntries unnecessary.
AssistedConfigurable() - Constructor for class net.sf.jeters.util.AssistedConfigurable
 
AssistedTranslatable - Class in net.sf.jeters.util
superclass easing internationalization for its subclasses.
AssistedTranslatable() - Constructor for class net.sf.jeters.util.AssistedTranslatable
 

C

clone() - Method in class net.sf.jeters.configuration.Configuration
 
Component - Interface in net.sf.jeters.componentInterface
interface implemented by all JETERS components.
ComponentClassLoader - Class in net.sf.jeters.core
ClassLoader used for getting classes from the component folder
ComponentClassLoader(File) - Constructor for class net.sf.jeters.core.ComponentClassLoader
constructor
ComponentManager - Class in net.sf.jeters.componentInterface
class that manages components.
ComponentManager(File, ConfigurationReader[], TranslationReader) - Constructor for class net.sf.jeters.componentInterface.ComponentManager
constructor creating a component manager using a given directory as component source
conf_askForRegexEveryTime - Variable in class net.sf.jeters.components.RegExReplacer_User
whether the user will be asked again for a regex even if a replacement already exists.
conf_confirmChangesByDefault - Variable in class net.sf.jeters.components.RegExReplacer_User
whether change-confirmation-requests will be sent to the user interface by default.
conf_debug - Variable in class net.sf.jeters.components.RegExReplacer
if true, debug information will be generated.
conf_defaultSummary - Variable in class net.sf.jeters.components.RegExReplacer_User
the default summary for user-defined edits.
conf_minRatingDescription - Variable in class net.sf.jeters.components.RegExReplacer
minimum single rating for a relevant description.
conf_minRatingSummary - Variable in class net.sf.jeters.components.RegExReplacer
equivalent of conf_minRatingDescription for the final summary.
conf_minTotalRatingDescription - Variable in class net.sf.jeters.components.RegExReplacer
minimum total rating for a relevant description.
conf_minTotalRatingSummary - Variable in class net.sf.jeters.components.RegExReplacer
equivalent of conf_minTotalRatingDescription for the final summary.
conf_splitToLines - Variable in class net.sf.jeters.components.RegExReplacer_User
whether the text will be split at newlines
conf_summaryEntryLimit - Variable in class net.sf.jeters.components.RegExReplacer
maximum number of descriptions in the summary.
conf_summaryEntryLimitBrackets - Variable in class net.sf.jeters.components.RegExReplacer
maximum number of descriptions in each bracket in the summary.
Configurable - Interface in net.sf.jeters.configuration
Components using this optional interface will be able to store settings.
Configuration - Class in net.sf.jeters.configuration
This class represents configurations of JETERS components.
Configuration() - Constructor for class net.sf.jeters.configuration.Configuration
 
confirmationDescriptionList - Variable in class net.sf.jeters.components.RegExReplacer
description list for the next confirmation request.
confirmChanges(String, String, String, String, boolean) - Method in interface net.sf.jeters.componentInterface.UIComponent
allows the user to accept/decline changes made by a replacer component (i.e. an implementation of ReplacerComponent).
confirmChanges(String, String, String, String, boolean) - Method in class net.sf.jeters.components.DefaultCLI
 
confirmChanges(String, String, String, String, boolean) - Method in class net.sf.jeters.components.DefaultGUI
allows the user to accept/decline changes made by a replacer component (i.e. an implementation of ReplacerComponent).
createMissingComponentConfigurations() - Method in class net.sf.jeters.componentInterface.ComponentManager
creates missing configuration data.
createMissingComponentConfigurations(Class, Configuration) - Method in class net.sf.jeters.componentInterface.ComponentManager
creates missing configuration data for a single component class, has a parameter for the default configuration, thus it is not necessary for this method to create an instance of the componentClass.

D

DefaultCLI - Class in net.sf.jeters.components
the default implementation of a (very basic) command line UI component for JETERS.
DefaultCLI() - Constructor for class net.sf.jeters.components.DefaultCLI
 
DefaultGUI - Class in net.sf.jeters.components
the default implementation of a graphical UI component for JETERS.
DefaultGUI() - Constructor for class net.sf.jeters.components.DefaultGUI
 
description - Variable in class net.sf.jeters.components.RegExReplacer.Replacement
a string describing this replacement.
description - Variable in class net.sf.jeters.components.RegExReplacer.ReplacementGroup
a string describing this replacement group.

E

edit(I, UIComponent) - Method in interface net.sf.jeters.componentInterface.ReplacerComponent
performs all replacements to a text (implementation of EditableText as spcified by generic type I) and returns the resulting text (object of the type O)
edit(EditableText, UIComponent) - Method in class net.sf.jeters.components.RegExReplacer
applies the regular expressions to a text.
edit(EditableText, UIComponent) - Method in class net.sf.jeters.components.RegExReplacer_User
 
elementDescriptionList - Variable in class net.sf.jeters.components.RegExReplacer.DescriptionEntry
the descriptions of the elements.

F

FileIO - Class in net.sf.jeters.components
default implementation of a combined input and output component reading from and writing to text files in the local file system.
FileIO() - Constructor for class net.sf.jeters.components.FileIO
 

G

get(String) - Method in class net.sf.jeters.configuration.Configuration
returns the entry with the given name
getAvailableComponentClasses(Class...) - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the available components classes, can be limited to those components that are instances of given classes/interfaces.
getComponentClassForName(String) - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the component class for the given name
getConfiguration() - Method in class net.sf.jeters.components.RegExReplacer_User
 
getConfiguration() - Method in interface net.sf.jeters.configuration.Configurable
this method is called to retrieve the current configuration for this component.
getConfiguration() - Method in class net.sf.jeters.util.AssistedComponent
 
getConfiguration() - Method in class net.sf.jeters.util.AssistedConfigurable
 
getInput(UIComponent) - Method in interface net.sf.jeters.componentInterface.InputComponent
receive a text that can be edited by the program
getInput(UIComponent) - Method in interface net.sf.jeters.componentInterface.InputComponent_Series
receive a text that can be edited by the program; the next call to getInput is expected to return another text if seriesComplete() returns false
getInput(UIComponent) - Method in class net.sf.jeters.components.FileIO
 
getInput(UIComponent) - Method in class net.sf.jeters.components.MediaWikiIO
 
getInput(UIComponent) - Method in class net.sf.jeters.components.UserIO
 
getInputComponent() - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the current input component
getLocalizedComponentName(Class) - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the localized component name for a component; this name is determined from its ressource bundle for the current locale (if it exists)
getNamesOfAvailableComponentClasses(Class...) - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the full names of the available components classes, can be limited to those components that are instances of given classes/interfaces.
getOutputComponent() - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the current output component
getReplacerComponents() - Method in class net.sf.jeters.componentInterface.ComponentManager
returns a list of the current replacer components; modifying of the list will not affect the component manager, modifying the components, however, will modify the originals.
getUIComponent() - Method in class net.sf.jeters.componentInterface.ComponentManager
returns the current input component
getValue(String) - Method in class net.sf.jeters.configuration.Configuration
finds the entry with the given name and returns the result of its getValue method.

H

hasNext() - Method in interface net.sf.jeters.componentInterface.InputComponent_Series
indicates if there are still texts left for editing
hasNext() - Method in class net.sf.jeters.components.MediaWikiIO
 

I

InputComponent<T extends net.sf.jeters.componentInterface.editables.EditableText> - Interface in net.sf.jeters.componentInterface
the interface making a class a JETERS-Input-component.
InputComponent_Series<T extends net.sf.jeters.componentInterface.editables.EditableText> - Interface in net.sf.jeters.componentInterface
optional interface for JETERS-Input-components.
iterator() - Method in class net.sf.jeters.configuration.Configuration
returns an iterator that will iterate over all configuration over all entries in this configuration.

J

JETERS - Class in net.sf.jeters.core
class containing the main method, starts the core class of JETERS after dealing with a few command line params

M

main(String[]) - Static method in class net.sf.jeters.core.JETERS
main method, processes a few command line arguments, creates a Core-object and calls its run-method
maxRating - Variable in class net.sf.jeters.components.RegExReplacer.DescriptionEntry
the highest individual rating that has been assigned to this description, >= 0.
MediaWikiIO - Class in net.sf.jeters.components
default implementation of a combined input and output component reading from and writing to any MediaWiki system.
MediaWikiIO() - Constructor for class net.sf.jeters.components.MediaWikiIO
 

N

net.sf.jeters.componentInterface - package net.sf.jeters.componentInterface
contains interfaces and classes that are needed to write components for JETERS
net.sf.jeters.components - package net.sf.jeters.components
contains some basic components for JETERS.
net.sf.jeters.configuration - package net.sf.jeters.configuration
contains classes that allow components to store configuration info.
net.sf.jeters.core - package net.sf.jeters.core
contains the core functionality of JETERS.
net.sf.jeters.internationalization - package net.sf.jeters.internationalization
contains classes that allow components to be translated to other user interface languages without recommpiling.
net.sf.jeters.util - package net.sf.jeters.util
contains classes that make component creation easier by providing premade functionality

O

output(T, UIComponent) - Method in interface net.sf.jeters.componentInterface.OutputComponent
receive a text that can be edited by the program
output(String) - Method in class net.sf.jeters.components.DefaultCLI
 
output(EditableText, UIComponent) - Method in class net.sf.jeters.components.FileIO
 
output(MediaWikiText, UIComponent) - Method in class net.sf.jeters.components.MediaWikiIO
 
output(EditableText, UIComponent) - Method in class net.sf.jeters.components.UserIO
the output method necessary for all output components.
OutputComponent<T extends net.sf.jeters.componentInterface.editables.EditableText> - Interface in net.sf.jeters.componentInterface
the interface making a class a JETERS-Output-component.

P

presentHomeView(ComponentManager) - Method in interface net.sf.jeters.componentInterface.UIComponent_HomeView
This method is called when the program starts and every time a replacement series is completed.
presentHomeView(ComponentManager) - Method in class net.sf.jeters.components.DefaultGUI
 
protect(String, String...) - Method in class net.sf.jeters.util.StringProtector
replaces all occurrences of given regular expressions in the String s with "protection strings"

R

rating - Variable in class net.sf.jeters.components.RegExReplacer.DescriptionEntry
sum of all individual ratings, >= 0.
rating - Variable in class net.sf.jeters.components.RegExReplacer.Replacement
a rating of this replacement's importance (possible values: 0, positive integers).
readTranslation(String, ClassLoader) - Method in class net.sf.jeters.internationalization.TranslationReader
get the RessourceBundle with the translation for a component
regex - Variable in class net.sf.jeters.components.RegExReplacer.RegExReplacement
regular expression that will be replaced.
RegExReplacer - Class in net.sf.jeters.components
an abstract replacer class for JETERS based on regular expressions; for using it, you only have to create an extended class setting the "replacements"-attribute.
RegExReplacer() - Constructor for class net.sf.jeters.components.RegExReplacer
parameterless constructor, creates an empty ArrayList of ReplacementElement for the "replacements"-attribute and a default Splitter.
RegExReplacer.CustomReplacement - Class in net.sf.jeters.components
a class that represents a single replacement which is not based on regex, but on a custom method
RegExReplacer.CustomReplacement(String, int) - Constructor for class net.sf.jeters.components.RegExReplacer.CustomReplacement
constructor that has parameters for all attributes.
RegExReplacer.CustomReplacement() - Constructor for class net.sf.jeters.components.RegExReplacer.CustomReplacement
constructor that sets description to "" and rating to 0.
RegExReplacer.CustomReplacement(int) - Constructor for class net.sf.jeters.components.RegExReplacer.CustomReplacement
constructor that sets description to "".
RegExReplacer.CustomReplacement(String) - Constructor for class net.sf.jeters.components.RegExReplacer.CustomReplacement
constructor that sets rating to 0.
RegExReplacer.DescriptionEntry - Class in net.sf.jeters.components
an internally used class containing the necessary information for description lists.
RegExReplacer.DescriptionEntry(String, int, int) - Constructor for class net.sf.jeters.components.RegExReplacer.DescriptionEntry
constructor which sets elementDescriptionList to null
RegExReplacer.DescriptionEntry(String, int, int, RegExReplacer.DescriptionList) - Constructor for class net.sf.jeters.components.RegExReplacer.DescriptionEntry
full constructor
RegExReplacer.DescriptionList - Class in net.sf.jeters.components
an internally used class representing a description list.
RegExReplacer.DescriptionList() - Constructor for class net.sf.jeters.components.RegExReplacer.DescriptionList
 
RegExReplacer.RegExReplacement - Class in net.sf.jeters.components
a class that represents a single regex-pair together with other necessary information for performing replacements
RegExReplacer.RegExReplacement(int, String, String, String, int) - Constructor for class net.sf.jeters.components.RegExReplacer.RegExReplacement
constructor that has parameters for all attributes.
RegExReplacer.RegExReplacement(int, String, String) - Constructor for class net.sf.jeters.components.RegExReplacer.RegExReplacement
constructor that sets description to "" and rating to 0.
RegExReplacer.RegExReplacement(int, String, String, int) - Constructor for class net.sf.jeters.components.RegExReplacer.RegExReplacement
constructor that sets description to "".
RegExReplacer.RegExReplacement(int, String, String, String) - Constructor for class net.sf.jeters.components.RegExReplacer.RegExReplacement
constructor that sets rating to 0.
RegExReplacer.Replacement - Class in net.sf.jeters.components
a single replacement
RegExReplacer.Replacement() - Constructor for class net.sf.jeters.components.RegExReplacer.Replacement
 
RegExReplacer.ReplacementElement - Interface in net.sf.jeters.components
one element in a list of replacements.
RegExReplacer.ReplacementGroup - Class in net.sf.jeters.components
a group of replacements.
RegExReplacer.ReplacementGroup(int, String) - Constructor for class net.sf.jeters.components.RegExReplacer.ReplacementGroup
constructor that has parameters for all attributes.
RegExReplacer.ReplacementGroup(int) - Constructor for class net.sf.jeters.components.RegExReplacer.ReplacementGroup
constructor that sets description to "".
RegExReplacer.Splitter - Class in net.sf.jeters.components
splitter-class, extending this can modify the splitting behavior.
RegExReplacer.Splitter() - Constructor for class net.sf.jeters.components.RegExReplacer.Splitter
 
RegExReplacer_User - Class in net.sf.jeters.components
an replacer class for JETERS that applies a regex expression the user directly enters.
RegExReplacer_User() - Constructor for class net.sf.jeters.components.RegExReplacer_User
 
remove(String) - Method in class net.sf.jeters.configuration.Configuration
removes the entry with the given name from the configuration
removeEqualSentences(String, String, int) - Static method in class net.sf.jeters.util.StringDiffHelper
similar to #removeEqualParts(String, String, int), but removes full sentences only (text parts ending with '.')
replacements - Variable in class net.sf.jeters.components.RegExReplacer
the list of regex replacements that will be applied to the text.
ReplacerComponent<I extends net.sf.jeters.componentInterface.editables.EditableText,O extends net.sf.jeters.componentInterface.editables.EditableText> - Interface in net.sf.jeters.componentInterface
the interface making a class a JETERS-Replacer-component.
request(UIRequest...) - Method in interface net.sf.jeters.componentInterface.UIComponent
way for other components to communicate with the user via the UI
request(UIRequest...) - Method in class net.sf.jeters.components.DefaultCLI
 
request(UIRequest...) - Method in class net.sf.jeters.components.DefaultGUI
 
rwith - Variable in class net.sf.jeters.components.RegExReplacer.RegExReplacement
the string the regex is replaced with.

S

setConfiguration(Configuration) - Method in class net.sf.jeters.components.DefaultGUI
 
setConfiguration(Configuration) - Method in class net.sf.jeters.components.MediaWikiIO
 
setConfiguration(Configuration) - Method in class net.sf.jeters.components.RegExReplacer_User
 
setConfiguration(Configuration) - Method in interface net.sf.jeters.configuration.Configurable
sets the configuration for this object.
setConfiguration(Configuration) - Method in class net.sf.jeters.util.AssistedComponent
 
setConfiguration(Configuration) - Method in class net.sf.jeters.util.AssistedConfigurable
 
setInputComponent(Class) - Method in class net.sf.jeters.componentInterface.ComponentManager
creates a new input component from the given class and sets it as active input component
setLanguageResourceBundle(ResourceBundle) - Method in class net.sf.jeters.components.DefaultGUI
 
setLanguageResourceBundle(ResourceBundle) - Method in interface net.sf.jeters.internationalization.Translatable
sets the ResourceBundle that contains the messages to use
setLanguageResourceBundle(ResourceBundle) - Method in class net.sf.jeters.util.AssistedComponent
 
setLanguageResourceBundle(ResourceBundle) - Method in class net.sf.jeters.util.AssistedTranslatable
 
setOutputComponent(Class) - Method in class net.sf.jeters.componentInterface.ComponentManager
creates a new output component from the given class and sets it as active output component
setReplacerComponent(Collection<Class>) - Method in class net.sf.jeters.componentInterface.ComponentManager
creates new replacer components from the given classes and sets it as active replacer components
setTranslation(Component) - Method in class net.sf.jeters.componentInterface.ComponentManager
loads and sets the translation for a translatable component using the current translatationReader.
setUIComponent(Class) - Method in class net.sf.jeters.componentInterface.ComponentManager
creates a new UI component from the given class and sets it as active UI component
size() - Method in class net.sf.jeters.configuration.Configuration
returns the number of entries in this configuration
split(String) - Method in class net.sf.jeters.components.RegExReplacer.Splitter
split the given string
splitter - Variable in class net.sf.jeters.components.RegExReplacer
the splitter class that will be used; not null.
str(String) - Method in class net.sf.jeters.util.AssistedComponent
returns the language-specific string identified by the given key
str(String, Object...) - Method in class net.sf.jeters.util.AssistedComponent
returns the language-specific string identified by the given key and replaces placeholders ({0}, {1}, ...) in the string with the arguments
str(String) - Method in class net.sf.jeters.util.AssistedTranslatable
returns the language-specific string identified by the given key
str(String, Object...) - Method in class net.sf.jeters.util.AssistedTranslatable
returns the language-specific string identified by the given key and replaces placeholders ({0}, {1}, ...) in the string with the arguments
string - Variable in class net.sf.jeters.components.RegExReplacer.DescriptionEntry
the description string itself.
StringDiffHelper - Class in net.sf.jeters.util
tool that provides functionality usually required for diff views, such as removing unchanged parts and highlighting differences
StringDiffHelper() - Constructor for class net.sf.jeters.util.StringDiffHelper
 
StringProtector - Class in net.sf.jeters.util
tool that will "protect" parts of a String identified by regular expressions by replacing them with an ID (positive integer) and some strings specified in the constructor.
StringProtector(String, String) - Constructor for class net.sf.jeters.util.StringProtector
creates a new string protector
summaryDescriptionList - Variable in class net.sf.jeters.components.RegExReplacer
description list for the summary.

T

times - Variable in class net.sf.jeters.components.RegExReplacer.RegExReplacement
how often the replaceAll-function is called for this replacement.
times - Variable in class net.sf.jeters.components.RegExReplacer.ReplacementGroup
how often this group is repeated.
toString() - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
own toString-method that prints all descriptions sorted by rating.
toString(int, int, int, int) - Method in class net.sf.jeters.components.RegExReplacer.DescriptionList
parameterized toString-method that prints the descriptions sorted by rating.
Translatable - Interface in net.sf.jeters.internationalization
interface for components with strings that can be translated to different languages.
TranslationReader - Class in net.sf.jeters.internationalization
class that loads translations from .properties files.
TranslationReader(Locale) - Constructor for class net.sf.jeters.internationalization.TranslationReader
constructor determining the locale to load translations for (if possible)

U

UIComponent - Interface in net.sf.jeters.componentInterface
the interface making a class a JETERS-UI-component.
UIComponent_HomeView - Interface in net.sf.jeters.componentInterface
optional interface for JETERS-UI-components.
unprotect(String) - Method in class net.sf.jeters.util.StringProtector
replaces the protection marks with the original text; protected text will no longer be known to this StringProtector
unsplit(String[]) - Method in class net.sf.jeters.components.RegExReplacer.Splitter
combine the given strings
UserIO - Class in net.sf.jeters.components
default implementation of a combined input and output component reading from and writing to the user interface component.
UserIO() - Constructor for class net.sf.jeters.components.UserIO
 

W

writeCurrentConfigurations() - Method in class net.sf.jeters.componentInterface.ComponentManager
stores the current configurations of all active components; to be used before exiting program

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