org.apache.shindig.gadgets.render
Class OpenSocialI18NGadgetRewriter
java.lang.Object
org.apache.shindig.gadgets.render.OpenSocialI18NGadgetRewriter
- All Implemented Interfaces:
- GadgetRewriter
public class OpenSocialI18NGadgetRewriter
- extends Object
- implements GadgetRewriter
Produce data constants that are needed by the opensocial-i18n
feature based on user locale.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OpenSocialI18NGadgetRewriter
public OpenSocialI18NGadgetRewriter()
rewrite
public void rewrite(Gadget gadget,
MutableContent mutableContent)
throws RewritingException
- Description copied from interface:
GadgetRewriter
- Rewrite the gadget.
- Specified by:
rewrite in interface GadgetRewriter
- Parameters:
gadget - Gadget to rewrite.mutableContent - the content of the gadget to be manipulated.
- Throws:
RewritingException
attemptToLoadDateConstants
protected String attemptToLoadDateConstants(String localeName)
throws IOException
- Throws:
IOException
attemptToLoadResourceFullyQualified
protected String attemptToLoadResourceFullyQualified(String resource)
throws IOException
- Throws:
IOException
Copyright © 2007-2012. All Rights Reserved.