diff options
author | Karl Berry <karl@freefriends.org> | 2009-09-04 18:36:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-09-04 18:36:57 +0000 |
commit | b2869784051063d695d532c55bad16c8d8fd7c77 (patch) | |
tree | 75bc7ad8fc49b454835481ffeb329f4961f086a7 /Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java | |
parent | 4bf1cb91b3cc076e1d84c577942b572afbfb5e8a (diff) |
new latex package + sh script listings-ext (31aug09)
git-svn-id: svn://tug.org/texlive/trunk@15093 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java')
-rw-r--r-- | Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java new file mode 100644 index 00000000000..ce726f41cf9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/listings-ext/listings-ext_exmpl_c.java @@ -0,0 +1,39 @@ +package application.helloworld; +// be: packages +import java.util.Locale; +import java.util.MissingResourceException; +import java.util.ResourceBundle; +// ee: packages +// be: introductory comment +/** + * HelloWorld.java + * + * + * <br> + * Created: : 2007/04/12 11:24:48$ + * + * @author <a href="mailto:N.N@fh-aachen.de">N.N.</a> + * @version : 0.0$ + */ +// ee: comment +// ee: class declaration +public class HelloWorld +// ee: class declaration +{ + // be: specific constructor + public HelloWorld() + { + System.out.println("Object HelloWorld created"); + } // end of specific constructor "HelloWorld()" + // ee: specific constructor + + public static final void main(final String[] args) + { + String baseName = "HelloWorld"; + // ee: using the resource bundle + ResourceBundle rb = ResourceBundle.getBundle(baseName); + String greetings = rb.getString("hello_msg"); + // ee: using the resource bundle + System.out.printf("%s\n", greetings); + } // end of method "main(String[] args)" +} // end of class "HelloWorld" |