Added Adam Heinrich's NativeUtils.java : This commit for unmodified version
Added License.