Created
October 23, 2010 22:20
-
-
Save searls/642767 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ActionSupport implements TextProvider, ... { | |
private final transient TextProvider textProvider = | |
new TextProviderFactory().createInstance(getClass(), this); | |
... | |
public String getText(String aTextName) { | |
return textProvider.getText(aTextName); | |
} | |
public String getText(String aTextName, String defaultValue) { | |
return textProvider.getText(aTextName, defaultValue); | |
} | |
public String getText(String aTextName, String defaultValue, String obj) { | |
return textProvider.getText(aTextName, defaultValue, obj); | |
} | |
public String getText(String aTextName, List<Object> args) { | |
return textProvider.getText(aTextName, args); | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment