- import from http://coderepos.org/share/browser/lang/java/echo_samples