com.khubla.pragmatach.plugin.i8n
Class I8NImpl

java.lang.Object
  extended by com.khubla.pragmatach.plugin.i8n.I8NImpl
All Implemented Interfaces:
I8NProvider

public class I8NImpl
extends Object
implements I8NProvider

Author:
tome

Constructor Summary
I8NImpl(PluginImpl plugin)
          ctor
 
Method Summary
 String getDate(String locale, Date date)
          get localized date
 String getName()
          provider name
 String getString(String locale, String name)
          get localized string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

I8NImpl

public I8NImpl(PluginImpl plugin)
ctor

Method Detail

getDate

public String getDate(String locale,
                      Date date)
               throws PragmatachException
Description copied from interface: I8NProvider
get localized date

Specified by:
getDate in interface I8NProvider
Throws:
PragmatachException

getName

public String getName()
Description copied from interface: I8NProvider
provider name

Specified by:
getName in interface I8NProvider

getString

public String getString(String locale,
                        String name)
                 throws PragmatachException
Description copied from interface: I8NProvider
get localized string.

Specified by:
getString in interface I8NProvider
Throws:
PragmatachException


Copyright © 2014 khubla.com. All rights reserved.