Issue Details (XML | Word | Printable)

Key: IZPACK-85
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Julien Ponge
Reporter: J. Chris Folsom
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IzPack

LocaleDatabase Refactoring

Created: 13/May/08 08:52 PM   Updated: 20/May/08 06:09 AM   Resolved: 15/May/08 04:41 PM
Return to search
Component/s: Installer
Affects Version/s: 3.11.0
Fix Version/s: 4.0.0

Time Tracking:
Not Specified

File Attachments: 1. Text File ldpatch.txt (7 kB)


Patch Submitted: Yes


 Description  « Hide

This adds some factory/builder methods to the LocaleDatabase so that clients who are loading a LocaleDatabase do not need to know or care about its location, they just need to know what iso language code to use or load the one for the default locale.

This basically codifies and encapsulates the logic used to load lang packs so that clients have a more standardized way of loading them.

This will remove some duplicate code when LocaleDatabase classes are updated to use the new methods.



Julien Ponge added a comment - 15/May/08 04:41 PM

Successfully merged.