001 package com.khubla.pragmatach.framework.api; 002 003 import java.util.Date; 004 005 /** 006 * @author tome 007 */ 008 public interface I8NProvider { 009 /** 010 * get localized date 011 */ 012 String getDate(String locale, Date date) throws PragmatachException; 013 014 /** 015 * provider name 016 */ 017 String getName(); 018 019 /** 020 * get localized string. 021 */ 022 String getString(String locale, String name) throws PragmatachException; 023 }