info.informatica.text
Class LocalStringList

java.lang.Object
  extended by info.informatica.text.LocalStringList

public final class LocalStringList
extends Object

A localized list of Strings.

Version:
1.01
Author:
amengual at informatica dot info

Method Summary
 boolean contains(String word)
           
 String getLocaleName()
           
static LocalStringList getLocalList(String baseName, String ext)
          Get the appropriate LocalStringList.
static LocalStringList getLocalList(String baseName, String ext, Locale locale)
          Get the appropriate LocalStringList.
 boolean isEmpty()
           
 Iterator<String> iterator()
           
static LocalStringList loadList(String baseFileName, String localeName, String ext)
           
 void setParent(LocalStringList parent)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLocaleName

public String getLocaleName()

setParent

public void setParent(LocalStringList parent)

isEmpty

public boolean isEmpty()

contains

public boolean contains(String word)

iterator

public Iterator<String> iterator()

getLocalList

public static LocalStringList getLocalList(String baseName,
                                           String ext)
                                    throws IOException
Get the appropriate LocalStringList.

Parameters:
baseName -
Throws:
IOException

getLocalList

public static LocalStringList getLocalList(String baseName,
                                           String ext,
                                           Locale locale)
                                    throws IOException
Get the appropriate LocalStringList.

Parameters:
baseName - see class description.
locale - see class description.
Throws:
IOException

loadList

public static LocalStringList loadList(String baseFileName,
                                       String localeName,
                                       String ext)