public String cleanCommand ( String command ) { if ( command == null ) return command ; Map < String , Object > properties = Util . parseArgs ( null , command ) ; properties . remove ( Params . APPLET ) ; properties . remove ( "code" ) ; properties . remove ( "jnlpjars" ) ; properties . remove ( "jnlpextensions" ) ; properties . remove ( ScreenUtil . BACKGROUND_COLOR ) ; properties . remove ( Params . BACKGROUND ) ; return Util . propertiesToUrl ( properties ) ; }
Clean the javascript command for java use .