Extension Spoofer in JAVA