Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-resolving of external resources #16

Open
rodionmoiseev opened this issue Dec 31, 2012 · 0 comments
Open

Auto-resolving of external resources #16

rodionmoiseev opened this issue Dec 31, 2012 · 0 comments
Assignees
Milestone

Comments

@rodionmoiseev
Copy link
Owner

Forked from issue #2

Implement a @C10NResource annotation to support the following construts.

@C10NMessages
public interface MyMessages{
  //Defer to ResourceBundle-like locale resolution 
  // (e.g. look for text_ja_JP.txt for Jp locale)
  @C10NResource(extRes="file://absolute/path/text.txt")
  String textFileContents2();

  //Access internal (in-the-jar) resources
  @C10NResource(intRes="com/example/text.txt")
  String internalResourceContents();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant