Save This Page
Home » tapestry-src-5.0.19 » org.apache.tapestry5.ioc.internal.util » [javadoc | source]
public class: LocalizedNameGenerator [javadoc | source]

All Implemented Interfaces:
    Iterator, Iterable

Used in a wide variety of resource searches. Generates a series of name variations from a path (which must include a suffix) and locale.

This class is not threadsafe.
 public LocalizedNameGenerator(String path,
    Locale locale) 
Method from org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator Summary:
getCurrentLocale,   hasNext,   iterator,   next,   remove
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.tapestry5.ioc.internal.util.LocalizedNameGenerator Detail:
 public Locale getCurrentLocale() 
 public boolean hasNext() 
    Returns true if there are more name variants to be returned, false otherwise.
 public Iterator<String> iterator() 
    So that LNG may be used with the for loop.
 public String next() 
    Returns the next localized variant.
 public  void remove()