com.khubla.pragmatach.framework.i8n
Class I8NResolver

java.lang.Object
  extended by com.khubla.pragmatach.framework.i8n.I8NResolver

public class I8NResolver
extends Object

Author:
tome

Constructor Summary
I8NResolver(Set<I8NProvider> i8nProviders)
          ctor
 
Method Summary
 String date(String locale, Date date)
          get localized date
 String text(String locale, String name)
          search for i8N string across providers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I8NResolver

public I8NResolver(Set<I8NProvider> i8nProviders)
ctor

Method Detail

date

public String date(String locale,
                   Date date)
            throws PragmatachException
get localized date

Throws:
PragmatachException

text

public String text(String locale,
                   String name)
            throws PragmatachException
search for i8N string across providers

Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.