@ Override public void setParameters ( Map < String , ? > map ) { if ( isOpen ) { throw new UnsupportedOperationException ( MSG_CANNOT_CHANGE_PROP ) ; } for ( Entry < String , ? > entry : map . entrySet ( ) ) { if ( this . driver . getOptions ( ) . hasOption ( entry . getKey ( ) ) ) { String longKey = this . driver . getOptions ( ) . getOption ( entry . getKey ( ) ) . getLongOpt ( ) ; this . parameters . put ( longKey , entry . getValue ( ) == null ? "" : entry . getValue ( ) . toString ( ) ) ; } else { throw new UnsupportedOperationException ( MSG_WRONG_ARGUMENT ) ; } } }
support change FPS at runtime .