php to JAVA